/* Enhanced Notification Modal Styles */
.modal-dialog-notify {
    position: absolute;
    top: 35px;
    right: 123px;
    width: 370px;
    max-width: 600px;
    margin: 1.75rem auto;
}

.modal-content-notify {
    border: none;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-backdrop {
    z-index: 0 !important;
}

.modal-body-notify {
    padding: 0px !important;
}

.modal-body-content-notify {
    padding: 10px;
    background: white;
    margin: 2px;
    border-radius: 14px;
}

/* Header Styles */
.header-notify {
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.header-notify .label-font-weight-700 {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-notify .label-font-weight-700:hover {
    color: #667eea;
}

#mark-as-read {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

#mark-as-read:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    text-decoration: none;
}

/* Notification Items */
.ele-item-notify {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ele-item-notify:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.ele-item-notify::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0 2px 2px 0;
}

.ele-item-notify-not-see {
    background: linear-gradient(135deg, #fff5f5 0%, #fef7f7 100%);
    border-color: #ff6b6b;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.1);
}

.ele-item-notify-not-see::before {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.ele-item-notify-not-see::after {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 8px;
    height: 8px;
    background: #ff6b6b;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* Notification Content */
.ele-left .row {
    margin: 0;
    align-items: center;
}

.ele-left .col-3 {
    padding: 0 12px 0 0;
}

.ele-left .col-9 {
    padding: 0;
}

.ele-left img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ele-item-notify:hover .ele-left img {
    transform: scale(1.05);
}

.label-font-weight-700 {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 6px;
    line-height: 1.3;
}

.label-text {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.4;
    margin-bottom: 8px;
}

.text-muted {
    font-size: 12px;
    color: #adb5bd;
    font-weight: 500;
}

/* Footer */
.footer-notify {
    background: #c5d1e7;
    border-top: 2px solid #f8f9fa;
    padding-top: 16px;
}

/* Scrollbar Styling */
.modal-body-content-notify::-webkit-scrollbar {
    width: 6px;
}

.modal-body-content-notify::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.modal-body-content-notify::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
}

.modal-body-content-notify::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.slide-in-up {
    animation: slideInUp 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Counting Cover */
.counting-cover {
    width: 16px;
    height: 16px;
    position: absolute;
    font-size: 9px;
    top: -4px;
    left: 40px;
    color: white;
    background: #ED2726;
    border-radius: 100%;
    border: 1px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 10px;
}

/* Responsive Design */
@media (max-width: 825px) {
    .modal-dialog-notify {
        right: 0px;
        padding: 20px 16px;
        width: 100%;
        left: 48%;
        transform: translate(-50%, 0%) !important;
    }
}

@media (max-width: 768px) {
    .modal-dialog-notify {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .modal-body-content-notify {
        padding: 10px;
    }
    
    .ele-item-notify {
        padding: 12px;
    }
    
    .ele-left .col-3 {
        padding: 0 8px 0 0;
    }
    
    .ele-left img {
        width: 60px;
    }
}
@media (max-width: 400px) {
    .flex-direction-column-lt-400 {
        flex-direction: column;
    }
}
