/* Notifications System */
.notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.notification {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 10px;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    min-width: 300px;
    max-width: 400px;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: all;
}

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

.notification-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.notification-message {
    flex: 1;
    font-family: 'Geologica', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
}

.notification-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: #888;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* Notification Types */
.notification-success {
    border-color: rgba(76, 175, 80, 0.3);
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(76, 175, 80, 0.05) 100%);
}

.notification-success .notification-icon {
    color: #4caf50;
}

.notification-error {
    border-color: rgba(239, 68, 68, 0.3);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
}

.notification-error .notification-icon {
    color: #ef4444;
}

.notification-warning {
    border-color: rgba(255, 193, 7, 0.3);
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.05) 100%);
}

.notification-warning .notification-icon {
    color: #ffc107;
}

.notification-info {
    border-color: rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.notification-info .notification-icon {
    color: #3b82f6;
}

/* Confirm Modal */
.confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.confirm-modal.show {
    opacity: 1;
}

.confirm-modal.show .confirm-content {
    transform: scale(1);
}

.confirm-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.confirm-content {
    position: relative;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 400px;
    max-width: 90vw;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.confirm-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.confirm-title {
    font-family: 'Geologica', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.confirm-body {
    padding: 20px 24px;
}

.confirm-message {
    font-family: 'Geologica', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 16px 0;
}

.confirm-message:last-child {
    margin-bottom: 0;
}

.prompt-input {
    width: 100%;
    padding: 10px 14px;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: 'Geologica', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.prompt-input:focus {
    border-color: rgba(255, 255, 255, 0.3);
}

.confirm-footer {
    display: flex;
    gap: 10px;
    padding: 16px 24px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.confirm-footer button {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    font-family: 'Geologica', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.confirm-footer .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.confirm-footer .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

.confirm-footer .btn-primary {
    background: #3b82f6;
    border: 1px solid #3b82f6;
    color: #fff;
}

.confirm-footer .btn-primary:hover {
    background: #2563eb;
}

/* Mobile adaptations */
@media (max-width: 768px) {
    .notifications-container {
        top: 10px;
        right: 10px;
        left: 10px;
        align-items: stretch;
    }
    
    .notification {
        min-width: auto;
        max-width: none;
    }
    
    .confirm-content {
        width: calc(100vw - 32px);
        margin: 0 16px;
    }
}

@media (max-width: 480px) {
    .notifications-container {
        top: 8px;
        right: 8px;
        left: 8px;
    }
    
    .notification {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .confirm-header {
        padding: 16px 20px 12px;
    }
    
    .confirm-title {
        font-size: 16px;
    }
    
    .confirm-body {
        padding: 16px 20px;
    }
    
    .confirm-message {
        font-size: 13px;
    }
    
    .confirm-footer {
        padding: 12px 20px 16px;
        flex-direction: column;
    }
    
    .confirm-footer button {
        width: 100%;
    }
}
