196 lines
3.3 KiB
CSS
196 lines
3.3 KiB
CSS
/* Officer Management Specific Styles */
|
|
|
|
.officer-management-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 24px;
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.officer-category-card {
|
|
background: white;
|
|
border-radius: 12px;
|
|
border: 1px solid #f3f4f6;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.category-header {
|
|
padding: 16px 20px;
|
|
border-bottom: 1px solid #f3f4f6;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.category-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-weight: 600;
|
|
color: #1e293b;
|
|
font-size: 0.9375rem;
|
|
}
|
|
|
|
.active-count {
|
|
background: #f0fdf4;
|
|
color: #16a34a;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
padding: 2px 8px;
|
|
border-radius: 99px;
|
|
}
|
|
|
|
.officer-list {
|
|
padding: 8px;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.officer-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 12px 12px;
|
|
border-radius: 8px;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.officer-item:hover {
|
|
background-color: #f8fafc;
|
|
}
|
|
|
|
.officer-main-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.officer-avatar {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
background: #e0e7ff;
|
|
color: #4f46e5;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 600;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.officer-details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.officer-name {
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
color: #1e293b;
|
|
}
|
|
|
|
.officer-meta {
|
|
font-size: 0.75rem;
|
|
color: #64748b;
|
|
}
|
|
|
|
.officer-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.officer-actions button {
|
|
background: transparent;
|
|
border: none;
|
|
color: #94a3b8;
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
border-radius: 4px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.officer-actions button:hover {
|
|
color: #4f46e5;
|
|
background: #f1f5f9;
|
|
}
|
|
|
|
.empty-state {
|
|
padding: 40px 20px;
|
|
text-align: center;
|
|
color: #94a3b8;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
/* Registration Form Section */
|
|
.registration-section {
|
|
background: white;
|
|
border-radius: 12px;
|
|
border: 1px solid #f3f4f6;
|
|
padding: 24px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.registration-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 20px;
|
|
color: #1e293b;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.form-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, 1fr);
|
|
gap: 16px;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.form-group label {
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
color: #1e293b;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.form-group input, .form-group select {
|
|
padding: 10px 14px;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 8px;
|
|
font-size: 0.875rem;
|
|
color: #1e293b;
|
|
outline: none;
|
|
transition: border-color 0.2s;
|
|
}
|
|
|
|
.form-group input:focus, .form-group select:focus {
|
|
border-color: #4f46e5;
|
|
}
|
|
|
|
.btn-save-officer {
|
|
background: #2563eb;
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 20px;
|
|
border-radius: 8px;
|
|
font-weight: 600;
|
|
font-size: 0.875rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
height: 42px;
|
|
}
|
|
|
|
.btn-save-officer:hover {
|
|
background: #1d4ed8;
|
|
}
|