|
|
|
|
|
.admin-panel { |
|
background-color: #f8f9fa; |
|
min-height: 100vh; |
|
padding: 20px; |
|
} |
|
|
|
.admin-header { |
|
display: flex; |
|
justify-content: space-between; |
|
align-items: center; |
|
margin-bottom: 30px; |
|
padding-bottom: 15px; |
|
border-bottom: 1px solid #ddd; |
|
} |
|
|
|
.admin-user-info { |
|
display: flex; |
|
align-items: center; |
|
gap: 15px; |
|
} |
|
|
|
.logout-btn { |
|
background-color: #dc3545; |
|
color: white; |
|
border: none; |
|
padding: 8px 16px; |
|
border-radius: 4px; |
|
cursor: pointer; |
|
} |
|
|
|
.admin-content { |
|
display: flex; |
|
flex-direction: column; |
|
gap: 30px; |
|
} |
|
|
|
.admin-section { |
|
background-color: white; |
|
padding: 20px; |
|
border-radius: 8px; |
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); |
|
} |
|
|
|
.upload-form { |
|
display: flex; |
|
flex-direction: column; |
|
gap: 15px; |
|
max-width: 600px; |
|
} |
|
|
|
.form-group { |
|
display: flex; |
|
flex-direction: column; |
|
gap: 5px; |
|
} |
|
|
|
.form-group label { |
|
font-weight: bold; |
|
} |
|
|
|
.form-group input[type="text"] { |
|
padding: 8px; |
|
border: 1px solid #ddd; |
|
border-radius: 4px; |
|
} |
|
|
|
.upload-btn { |
|
background-color: #4CAF50; |
|
color: white; |
|
border: none; |
|
padding: 10px; |
|
border-radius: 4px; |
|
cursor: pointer; |
|
max-width: 200px; |
|
} |
|
|
|
.upload-status { |
|
padding: 10px; |
|
border-radius: 4px; |
|
margin-top: 10px; |
|
} |
|
|
|
.upload-status.success { |
|
background-color: #d4edda; |
|
color: #155724; |
|
border: 1px solid #c3e6cb; |
|
} |
|
|
|
.upload-status.error { |
|
background-color: #f8d7da; |
|
color: #721c24; |
|
border: 1px solid #f5c6cb; |
|
} |
|
|
|
.documents-table { |
|
width: 100%; |
|
border-collapse: collapse; |
|
} |
|
|
|
.documents-table th, .documents-table td { |
|
padding: 12px; |
|
text-align: left; |
|
border-bottom: 1px solid #ddd; |
|
} |
|
|
|
.documents-table th { |
|
background-color: #f2f2f2; |
|
font-weight: bold; |
|
} |
|
|
|
.delete-btn { |
|
background-color: #dc3545; |
|
color: white; |
|
border: none; |
|
padding: 6px 10px; |
|
border-radius: 4px; |
|
cursor: pointer; |
|
} |
|
|
|
.error-message { |
|
color: #721c24; |
|
background-color: #f8d7da; |
|
padding: 10px; |
|
border-radius: 4px; |
|
border: 1px solid #f5c6cb; |
|
} |
|
.back-btn { |
|
background-color: #4285f4; |
|
color: white; |
|
border: none; |
|
padding: 8px 16px; |
|
margin-right: 10px; |
|
border-radius: 4px; |
|
cursor: pointer; |
|
font-weight: bold; |
|
} |
|
|
|
.back-btn:hover { |
|
background-color: #2a75f3; |
|
} |