.content-profile {
    padding: 24px 0;
    font-family: 'Montserrat', sans-serif;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f8f9fa;
    color: #333333;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    transition: background 0.2s;
}

.back-link:hover {
    background: #e9ecef;
}

.back-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.profile-section {
    background: #FDFCFF;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #e9ecef;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #0C0B13;
    margin: 0 0 20px 0;
}

.employee-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 24px;
}

.employee-avatar {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #0148AC;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.employee-avatar svg {
    width: 30px;
    height: 30px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
}

.employee-info {
    flex: 1;
}

.employee-name {
    font-size: 24px;
    font-weight: 700;
    color: #0C0B13;
    margin: 0 0 8px 0;
}

.employee-role {
    font-size: 16px;
    color: #0148AC;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.employee-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.form-select,
.form-input {
    width: 100%;
    max-width: 300px;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    background: #ffffff;
    transition: border-color 0.2s;
    font-family: 'Montserrat', sans-serif;
}

.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: #0148AC;
}

.btn-primary {
    padding: 12px 24px;
    background: #0148AC;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary:hover {
    background: #003d8f;
}

.btn-secondary {
    padding: 8px 16px;
    background: #f8f9fa;
    color: #333333;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Montserrat', sans-serif;
}

.btn-secondary:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.btn-danger {
    padding: 8px 16px;
    background: #dc3545;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Montserrat', sans-serif;
}

.btn-danger:hover {
    background: #c82333;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.day-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.day-checkbox:hover {
    background: #e9ecef;
}

.day-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #0148AC;
}

.day-checkbox input[type="checkbox"]:checked+.day-label {
    color: #0148AC;
    font-weight: 600;
}

.day-label {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    cursor: pointer;
}

.absence-form {
    display: flex;
    gap: 12px;
    align-items: end;
    margin-bottom: 20px;
}

.absence-form .form-group {
    margin-bottom: 0;
}

.absences-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.absence-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: box-shadow 0.2s;
}

.absence-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.absence-dates {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
}

.absence-actions {
    display: flex;
    gap: 8px;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.empty-state svg {
    width: 48px;
    height: 48px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .employee-header {
        flex-direction: column;
        text-align: center;
    }

    .absence-form {
        flex-direction: column;
        align-items: stretch;
    }

    .days-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}