html[data-bs-theme="light"] .form-control::placeholder,
html[data-bs-theme="light"] .form-select::placeholder {
    opacity: 0.7 !important;
}

html[data-bs-theme="light"] .form-control,
html[data-bs-theme="light"] .form-select {
    /* border: 1px solid #132843 !important; */
    border: 1px solid #132843a6 !important;
}

.form-check-input {
    border: 1px solid #132843a6 !important;
}

html[data-bs-theme="dark"] .form-control,
html[data-bs-theme="dark"] .form-select {
    border: 1px solid #c4ddffa6 !important;
}

html[data-bs-theme="dark"] .form-check-input {
    border: 1px solid #c4ddffa6 !important;
}

/* notification::begin */
.notification-list .dropdown-menu {
    min-width: 380px;
    max-width: 420px;
}

.notification-list .notify-item {
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.2s ease;
    cursor: pointer;
    padding: 12px 15px;
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.notification-list .notify-item:last-child {
    border-bottom: none;
}

.notification-list .notify-item.unread {
    background-color: #f8f9fa;
    border-left: 3px solid #007bff;
}

.notification-list .notify-item.read {
    background-color: transparent;
}

.notification-list .notify-item:hover {
    background-color: #e9ecef;
}

/* Icon Wrapper and Icon Styles */
.notification-list .notify-icon-wrapper {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-list .notify-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 500;
}

.notification-list .notify-icon i {
    font-size: 18px;
    line-height: 1;
}

.notification-list .notify-icon.type-success {
    background-color: #28a745;
    color: white;
}

.notification-list .notify-icon.type-info {
    background-color: #17a2b8;
    color: white;
}

.notification-list .notify-icon.type-warning {
    background-color: #ffc107;
    color: #212529;
}

.notification-list .notify-icon.type-error {
    background-color: #dc3545;
    color: white;
}

.notification-list .notify-icon.type-default {
    background-color: #6c757d;
    color: white;
}

/* Content Styles */
.notification-list .notification-content {
    min-width: 0;
    /* Allow text truncation */
    line-height: 1.4;
}

.notification-list .notification-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    word-break: break-word;
}

.notification-list .notification-message {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin-top: 2px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.notification-list .notification-time {
    font-size: 11px;
    color: #999;
    white-space: nowrap;
    font-weight: 500;
}

/* Action Styles */
.notification-list .notification-actions {
    opacity: 1;
    transition: opacity 0.2s ease;
}

/* .notification-list .notify-item:hover .notification-actions {
    opacity: 1;
} */

.notification-list .notification-actions .btn {
    padding: 4px 8px;
    font-size: 12px;
    line-height: 1.2;
    border-radius: 4px;
    min-width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-list .notification-actions .btn i {
    font-size: 14px;
}

/* Badge Styles */
.notification-list .noti-icon-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    min-width: 18px;
    height: 18px;
    line-height: 16px;
}

/* Date headers */
.notification-list .notification-date-header {
    font-size: 13px;
    font-weight: 500;
    color: #6c757d;
    margin: 8px 0 4px 0;
    padding: 0 12px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .notification-list .dropdown-menu {
        min-width: 320px;
        max-width: 95vw;
    }

    .notification-list .notification-actions .btn-group-vertical .btn {
        margin-bottom: 2px;
    }

    .notification-list .notification-message {
        -webkit-line-clamp: 3;
    }
}

/* Loading and empty states */
.notification-list #notification-loading,
.notification-list #no-notifications {
    padding: 30px 20px;
}

.notification-list #notification-loading .spinner-border {
    width: 2rem;
    height: 2rem;
}

/* notification::end */