.nirvana-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--overlay-dark-70, rgba(0, 0, 0, 0.7));
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    animation: fadeInOverlay 0.3s ease-out forwards;
}

@keyframes fadeInOverlay {
    to {
        opacity: 1;
    }
}

.nirvana-alert-container {
    background: linear-gradient(135deg, var(--overlay-sidebar-90, rgba(33, 33, 33, 0.98)) 0%, var(--overlay-dark-90-card, rgba(19, 19, 19, 0.98)) 100%);
    border-radius: 1rem;
    box-shadow: 0 20px 60px var(--overlay-dark-50, rgba(0, 0, 0, 0.5)), 0 0 0 1px var(--overlay-light-10, rgba(255, 255, 255, 0.1));
    max-width: 90%;
    width: 100%;
    max-width: 500px;
    padding: 0;
    position: relative;
    transform: scale(0.9) translateY(20px);
    animation: slideInAlert 0.3s ease-out forwards;
    overflow: hidden;
}

@keyframes slideInAlert {
    to {
        transform: scale(1) translateY(0);
    }
}

.nirvana-alert-header {
    padding: 1.5rem 1.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nirvana-alert-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nirvana-alert-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.nirvana-alert-icon.success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.2) 100%);
    color: var(--theme-success-2, #22c55e);
}

.nirvana-alert-icon.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3) 0%, rgba(220, 38, 38, 0.3) 100%);
    color: var(--theme-danger, #ef4444);
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.nirvana-alert-icon.warning {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.2) 0%, rgba(202, 138, 4, 0.2) 100%);
    color: var(--theme-warning-color, #eab308);
}

.nirvana-alert-icon.info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.2) 100%);
    color: var(--primary-color, #3b82f6);
}

.nirvana-alert-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--overlay-light-95, rgba(255, 255, 255, 0.95));
    margin: 0;
    flex: 1;
}

.nirvana-alert-close {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: var(--overlay-light-05, rgba(255, 255, 255, 0.05));
    border: 1px solid var(--overlay-light-10, rgba(255, 255, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    flex-shrink: 0;
    color: var(--overlay-light-70, rgba(255, 255, 255, 0.7));
}

.nirvana-alert-close:hover {
    background: var(--overlay-light-10, rgba(255, 255, 255, 0.1));
    color: var(--overlay-light-90, rgba(255, 255, 255, 0.9));
}

.nirvana-alert-close svg {
    width: 1rem;
    height: 1rem;
}

.nirvana-alert-body {
    padding: 0 1.5rem 1.5rem;
    color: var(--stats-text-color, rgba(255, 255, 255, 0.8));
    line-height: 1.6;
    font-size: 0.9375rem;
}

.nirvana-alert-body.text-start {
    text-align: left;
}

.nirvana-alert-footer {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.nirvana-alert-btn {
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 100px;
    justify-content: center;
}

.nirvana-alert-btn-primary {
    background: linear-gradient(135deg, var(--primary-color, #3b82f6) 0%, var(--theme-accent-color, #8b5cf6) 100%);
    color: var(--overlay-light-100, white);
}

.nirvana-alert-btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-color-dark, #2563eb) 0%, var(--theme-accent-dark, #7c3aed) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.nirvana-alert-btn-secondary {
    background: var(--overlay-light-10, rgba(255, 255, 255, 0.1));
    color: var(--overlay-light-90, rgba(255, 255, 255, 0.9));
    border: 1px solid var(--overlay-light-20, rgba(255, 255, 255, 0.2));
}

.nirvana-alert-btn-secondary:hover {
    background: var(--overlay-light-15, rgba(255, 255, 255, 0.15));
    border-color: var(--overlay-light-30, rgba(255, 255, 255, 0.3));
}

.nirvana-alert-btn-danger {
    background: linear-gradient(135deg, var(--theme-danger, #ef4444) 0%, var(--theme-danger-700, #dc2626) 100%);
    color: var(--overlay-light-100, white);
}

.nirvana-alert-btn-danger:hover {
    background: linear-gradient(135deg, var(--theme-danger-700, #dc2626) 0%, var(--theme-danger-800, #b91c1c) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.nirvana-alert-link {
    color: var(--primary-color, #3b82f6);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s ease;
}

.nirvana-alert-link:hover {
    color: var(--primary-light, #60a5fa);
}

/* Etkinlik katılımı — yatırım tutarı + tarih formu */
.ev-join-yatirim-intro {
    font-size: 0.875rem;
    color: var(--overlay-light-75, rgba(255, 255, 255, 0.75));
    margin-bottom: 1rem;
    line-height: 1.5;
}

.ev-join-yatirim-card {
    background: var(--overlay-light-05, rgba(255, 255, 255, 0.04));
    border: 1px solid var(--overlay-light-10, rgba(255, 255, 255, 0.1));
    border-radius: 0.75rem;
    padding: 1rem 1.125rem;
}

.ev-join-yatirim-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1rem;
}

.ev-join-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--overlay-light-65, rgba(255, 255, 255, 0.65));
    margin-bottom: 0.375rem;
}

.ev-join-field label .ev-req {
    color: var(--theme-danger, #f87171);
    margin-left: 0.125rem;
}

.ev-join-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--overlay-light-15, rgba(255, 255, 255, 0.15));
    background: var(--overlay-dark-40, rgba(0, 0, 0, 0.35));
    color: var(--overlay-light-95, rgba(255, 255, 255, 0.95));
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ev-join-input:focus {
    outline: none;
    border-color: var(--primary-color, #3b82f6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.ev-join-input-wrap {
    display: flex;
    align-items: stretch;
    border-radius: 0.5rem;
    border: 1px solid var(--overlay-light-15, rgba(255, 255, 255, 0.15));
    background: var(--overlay-dark-40, rgba(0, 0, 0, 0.35));
    overflow: hidden;
}

.ev-join-input-wrap:focus-within {
    border-color: var(--primary-color, #3b82f6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.ev-join-prefix {
    display: flex;
    align-items: center;
    padding: 0 0.65rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--overlay-light-55, rgba(255, 255, 255, 0.55));
    background: var(--overlay-light-05, rgba(255, 255, 255, 0.06));
    border-right: 1px solid var(--overlay-light-10, rgba(255, 255, 255, 0.1));
}

.ev-join-input-wrap .ev-join-input {
    border: none;
    border-radius: 0;
    flex: 1;
    min-width: 0;
}

.ev-join-input-wrap .ev-join-input:focus {
    box-shadow: none;
}

.ev-join-hint {
    margin-top: 0.875rem;
    font-size: 0.8125rem;
    color: var(--overlay-light-50, rgba(255, 255, 255, 0.5));
    line-height: 1.45;
}

@media (max-width: 640px) {
    .ev-join-yatirim-fields {
        grid-template-columns: 1fr;
    }

    .nirvana-alert-container {
        max-width: 95%;
        border-radius: 0.75rem;
    }
    
    .nirvana-alert-header {
        padding: 1.25rem 1.25rem 0.75rem;
    }
    
    .nirvana-alert-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .nirvana-alert-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .nirvana-alert-title {
        font-size: 1.125rem;
    }
    
    .nirvana-alert-body {
        padding: 0 1.25rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .nirvana-alert-footer {
        padding: 0.75rem 1.25rem 1.25rem;
        flex-direction: column;
    }
    
    .nirvana-alert-btn {
        width: 100%;
    }
}

