
:root {
    --notif-bg: rgba(10, 10, 10, 0.9);
    --notif-border: rgba(255, 255, 255, 0.1);
    --notif-success: #00c853;
    --notif-warning: #ffab00;
    --notif-error: #ff1744;
    --notif-info: #2979ff;
    --notif-neutral: #e0e0e0;
}

#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.rgc-message {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: var(--notif-bg);
    border: 1px solid var(--notif-border);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    position: relative;
    pointer-events: auto;
    animation: rgc-slide-in 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    max-width: 400px;
}

.rgc-alert-inline {
    width: 100%;
    max-width: none;
    margin-bottom: 20px;
}

.rgc-message.success { border-color: rgba(0, 200, 83, 0.3); background: linear-gradient(135deg, rgba(0, 200, 83, 0.05) 0%, rgba(10, 10, 10, 0.95) 100%); }
.rgc-message.warning { border-color: rgba(255, 171, 0, 0.3); background: linear-gradient(135deg, rgba(255, 171, 0, 0.05) 0%, rgba(10, 10, 10, 0.95) 100%); }
.rgc-message.error { border-color: rgba(255, 23, 68, 0.3); background: linear-gradient(135deg, rgba(255, 23, 68, 0.05) 0%, rgba(10, 10, 10, 0.95) 100%); }
.rgc-message.info { border-color: rgba(41, 121, 255, 0.3); background: linear-gradient(135deg, rgba(41, 121, 255, 0.05) 0%, rgba(10, 10, 10, 0.95) 100%); }
.rgc-message.neutral { border-color: rgba(255, 255, 255, 0.1); background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(10, 10, 10, 0.95) 100%); }

.rgc-message-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-top: 2px;
}

.success .rgc-message-icon { color: var(--notif-success); }
.warning .rgc-message-icon { color: var(--notif-warning); }
.error .rgc-message-icon { color: var(--notif-error); }
.info .rgc-message-icon { color: var(--notif-info); }
.neutral .rgc-message-icon { color: var(--notif-neutral); }

.rgc-message-content {
    flex-grow: 1;
}

.rgc-message-title {
    display: block;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.success .rgc-message-title { color: var(--notif-success); }
.warning .rgc-message-title { color: var(--notif-warning); }
.error .rgc-message-title { color: var(--notif-error); }
.info .rgc-message-title { color: var(--notif-info); }
.neutral .rgc-message-title { color: var(--notif-neutral); }

.rgc-message-text {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    font-weight: 400;
}

.rgc-message-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 4px;
    margin-top: -4px;
    margin-right: -8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rgc-message-close:hover {
    color: #fff;
    transform: scale(1.1);
}

@keyframes rgc-slide-in {
    from {
        opacity: 0;
        transform: translateX(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.rgc-message.fade-out {
    animation: rgc-fade-out 0.4s forwards;
}

@keyframes rgc-fade-out {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.9) translateY(-10px);
    }
}

.rgc-notif-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.rgc-notif-progress-bar {
    height: 100%;
    width: 100%;
    transform-origin: left;
}

.success .rgc-notif-progress-bar { background: var(--notif-success); }
.warning .rgc-notif-progress-bar { background: var(--notif-warning); }
.error .rgc-notif-progress-bar { background: var(--notif-error); }
.info .rgc-notif-progress-bar { background: var(--notif-info); }
.neutral .rgc-notif-progress-bar { background: var(--notif-neutral); }

.rgc-confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); 
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: flex-start; 
    justify-content: center;
    padding: 1.5rem;
    animation: rgc-modal-fade-in 0.3s ease;
}

.rgc-confirm-card {
    background: #000;
    border: 1px solid rgba(255, 23, 68, 0.4);
    border-radius: 16px;
    width: 100%;
    max-width: 600px; 
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 23, 68, 0.1);
    transform-origin: top center;
    animation: rgc-confirm-drop-in 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.rgc-confirm-card::before {
    display: none;
}

.rgc-confirm-icon {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    background: rgba(0, 200, 83, 0.1);
    border: 2px solid var(--notif-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--notif-success);
    margin-bottom: 0;
}

.rgc-confirm-card.danger .rgc-confirm-icon {
    background: rgba(255, 23, 68, 0.1);
    border-color: var(--notif-error);
    color: var(--notif-error);
}

.rgc-confirm-body {
    flex-grow: 1;
    text-align: left;
}

.rgc-confirm-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    display: block;
}

.rgc-confirm-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    margin-bottom: 0;
    display: block;
}

.rgc-confirm-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.rgc-confirm-btn {
    padding: 0.7rem 1.25rem;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    min-width: 90px;
}

.rgc-confirm-btn.cancel {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.rgc-confirm-btn.cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.rgc-confirm-btn.confirm {
    background: #e31e24;
    color: #fff;
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.3);
}

.rgc-confirm-btn.confirm:hover {
    background: #f12c33;
    transform: translateY(-1px);
}

.rgc-confirm-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.rgc-confirm-close:hover {
    color: #fff;
}

@keyframes rgc-modal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes rgc-confirm-drop-in {
    from { 
        opacity: 0; 
        transform: translateY(-40px) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.p-3 { padding: 0.75rem; }
.rounded-xl { border-radius: 0.75rem; }
.hover\:bg-white\/5:hover { background-color: rgba(255, 255, 255, 0.05); }
.transition-all { transition: all 0.3s ease; }
.border { border: 1px solid rgba(255, 255, 255, 0.1); }
.mb-1 { margin-bottom: 0.25rem; }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.cursor-pointer { cursor: pointer; }
.border-transparent { border-color: transparent; }
.hover\:border-white\/5:hover { border-color: rgba(255, 255, 255, 0.05); }
.flex { display: flex; }
.items-start { align-items: flex-start; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.rounded-full { border-radius: 9999px; }
.bg-accent-yellow\/10 { background-color: rgba(249, 188, 21, 0.1); }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-shrink-0 { flex-shrink: 0; }
.relative { position: relative; }
.text-accent-yellow { color: #f9bc15; }
.text-xs { font-size: 0.75rem; }
.absolute { position: absolute; }
.-top-1 { top: -0.25rem; }
.-right-1 { right: -0.25rem; }
.w-2\.5 { width: 0.625rem; }
.h-2\.5 { height: 0.625rem; }
.bg-red-500 { background-color: #ef4444; }
.flex-1 { flex: 1 1 0%; }
.min-w-0 { min-width: 0; }
.text-\[11px\] { font-size: 11px; }
.font-black { font-weight: 900; }
.uppercase { text-transform: uppercase; }
.text-white { color: #ffffff; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-\[10px\] { font-size: 10px; }
.text-gray-500 { color: #6b7280; }
.font-medium { font-weight: 500; }
.leading-tight { line-height: 1.25; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-3 { margin-top: 0.75rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.bg-accent-yellow { background-color: #f9bc15; }
.text-black { color: #000000; }
.text-\[9px\] { font-size: 9px; }
.hover\:scale-\[1\.02\]:hover { transform: scale(1.02); }
.hover\:bg-red-500\/10:hover { background-color: rgba(239, 68, 68, 0.1); }
.hover\:text-red-500:hover { color: #ef4444; }
.text-green-500 { color: #22c55e; }
.italic { font-style: italic; }
.text-gray-700 { color: #374151; }
.mt-1 { margin-top: 0.25rem; }
.text-\[8px\] { font-size: 8px; }
.text-\[7px\] { font-size: 7px; }
.text-\[6px\] { font-size: 6px; }

#mark-all-read-btn {
    background: rgba(249, 188, 21, 0.1);
    color: #f9bc15;
    border: 1px solid rgba(249, 188, 21, 0.2);
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.2s ease;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mark-all-read-btn:hover {
    background: #f9bc15;
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 188, 21, 0.3);
}

#mark-all-read-btn:active {
    transform: translateY(0);
}
