/* ========================================
   NOTIFICATIONS.CSS - CUSTOM NOTIFICATION SYSTEM
   ======================================== */

/* Notification Container */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    width: 100%;
    pointer-events: none;
}

/* Individual Notification */
.notification {
    background: linear-gradient(135deg, #1a1a1a 0%, #0e0e0e 100%);
    border: 2px solid var(--accent-color-one, #BC3131);
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 15px;
    box-shadow:
        0 8px 32px rgba(188, 49, 49, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color-one, #BC3131), var(--accent-color-two, #DD3C3C));
    border-radius: 12px 12px 0 0;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.hide {
    transform: translateX(100%);
    opacity: 0;
}

/* Notification Types */
.notification.success {
    border-color: #4CAF50;
    box-shadow:
        0 8px 32px rgba(76, 175, 80, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.notification.success::before {
    background: linear-gradient(90deg, #4CAF50, #66BB6A);
}

.notification.error {
    border-color: #f44336;
    box-shadow:
        0 8px 32px rgba(244, 67, 54, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.notification.error::before {
    background: linear-gradient(90deg, #f44336, #ef5350);
}

.notification.warning {
    border-color: #ff9800;
    box-shadow:
        0 8px 32px rgba(255, 152, 0, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.notification.warning::before {
    background: linear-gradient(90deg, #ff9800, #ffb74d);
}

.notification.info {
    border-color: #2196F3;
    box-shadow:
        0 8px 32px rgba(33, 150, 243, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.notification.info::before {
    background: linear-gradient(90deg, #2196F3, #42A5F5);
}

/* Notification Content */
.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.notification-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    margin-top: 2px;
}

.notification.success .notification-icon {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.notification.error .notification-icon {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.notification.warning .notification-icon {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
}

.notification.info .notification-icon {
    background: rgba(33, 150, 243, 0.2);
    color: #2196F3;
}

.notification-text {
    flex: 1;
    color: var(--text-color-two, #FFFFFF);
    font-family: "ProximaNova-Regular", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.notification-title {
    font-family: "ProximaNova-Bold", sans-serif;
    font-size: 16px;
    margin: 0 0 5px 0;
    color: var(--text-color-two, #FFFFFF);
}

/* Close Button */
.notification-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: var(--text-color-one, #6E6E6E);
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color-two, #FFFFFF);
}

/* Progress Bar */
.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color-one, #BC3131), var(--accent-color-two, #DD3C3C));
    border-radius: 0 0 12px 12px;
    transition: width linear;
}

.notification.success .notification-progress {
    background: linear-gradient(90deg, #4CAF50, #66BB6A);
}

.notification.error .notification-progress {
    background: linear-gradient(90deg, #f44336, #ef5350);
}

.notification.warning .notification-progress {
    background: linear-gradient(90deg, #ff9800, #ffb74d);
}

.notification.info .notification-progress {
    background: linear-gradient(90deg, #2196F3, #42A5F5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .notification {
        padding: 15px 20px;
        margin-bottom: 10px;
    }

    .notification-text {
        font-size: 13px;
    }

    .notification-title {
        font-size: 15px;
    }
}

/* Animation for multiple notifications */
.notification:nth-child(1) {
    animation-delay: 0s;
}

.notification:nth-child(2) {
    animation-delay: 0.1s;
}

.notification:nth-child(3) {
    animation-delay: 0.2s;
}

.notification:nth-child(4) {
    animation-delay: 0.3s;
}

.notification:nth-child(5) {
    animation-delay: 0.4s;
}

/* Hover Effects */
.notification:hover {
    transform: translateX(-5px);
    box-shadow:
        0 12px 40px rgba(188, 49, 49, 0.4),
        0 6px 20px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.notification.success:hover {
    box-shadow:
        0 12px 40px rgba(76, 175, 80, 0.4),
        0 6px 20px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.notification.error:hover {
    box-shadow:
        0 12px 40px rgba(244, 67, 54, 0.4),
        0 6px 20px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.notification.warning:hover {
    box-shadow:
        0 12px 40px rgba(255, 152, 0, 0.4),
        0 6px 20px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.notification.info:hover {
    box-shadow:
        0 12px 40px rgba(33, 150, 243, 0.4),
        0 6px 20px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
