/* VoiceDesk AI Frontend Styles */

:root {
    --nik-vd-btn-bg: #ffd700;
    --nik-vd-icon-color: #333333;
    --nik-vd-brand-color: #2563eb;
}

.nik-vd-hidden {
    display: none !important;
}

/* Floating Trigger Mic Button & Stacked Attribution Wrap */
#nik-vd-trigger-wrap {
    position: fixed;
    bottom: 20px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 99998;
    pointer-events: none;
}

#nik-vd-trigger-wrap>* {
    pointer-events: auto;
}

#nik-vd-mic-btn {
    position: relative;
    bottom: auto;
    right: auto;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--nik-vd-btn-bg);
    color: var(--nik-vd-icon-color);
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease;
    padding: 0;
    margin: 0;
}

#nik-vd-mic-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#nik-vd-mic-btn svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
}

.nik-vd-branding {
    position: relative;
    bottom: auto;
    right: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    color: #475569;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none !important;
    transition: all 0.2s ease;
    white-space: nowrap;
    margin: 0;
}

.nik-vd-branding:hover {
    background: #ffffff;
    color: #0f172a;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.nik-vd-company-logo {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-left: 2px;
    border-radius: 2px;
}

.nik-vd-logo-light {
    display: inline-block;
}

.nik-vd-logo-dark {
    display: none;
}

/* Screen Recording Active Border */
body.nik-vd-recording-active {
    box-shadow: inset 0 0 0 4px rgba(239, 68, 68, 0.85) !important;
    transition: box-shadow 0.3s ease;
}

/* Floating Recording Dock */
#nik-vd-dock {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 99999;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    animation: nik-vd-dock-slide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes nik-vd-dock-slide {
    from {
        transform: translate(-50%, 40px);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.nik-vd-rec-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nik-vd-rec-dot {
    width: 12px;
    height: 12px;
    background: #ef4444;
    border-radius: 50%;
    animation: nik-vd-pulse 1.2s infinite ease-in-out;
}

@keyframes nik-vd-pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        transform: scale(1.1);
        opacity: 1;
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }

    100% {
        transform: scale(0.9);
        opacity: 0.8;
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

#nik-vd-timer {
    font-family: monospace;
    font-size: 14px;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: 0.5px;
}

/* Audio wave animation */
.nik-vd-waveform {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 18px;
}

.nik-vd-waveform span {
    width: 3px;
    background: #38bdf8;
    border-radius: 2px;
    animation: nik-vd-wave 1s infinite ease-in-out;
}

.nik-vd-waveform span:nth-child(1) {
    height: 6px;
    animation-delay: 0.1s;
}

.nik-vd-waveform span:nth-child(2) {
    height: 14px;
    animation-delay: 0.2s;
}

.nik-vd-waveform span:nth-child(3) {
    height: 18px;
    animation-delay: 0.3s;
}

.nik-vd-waveform span:nth-child(4) {
    height: 10px;
    animation-delay: 0.4s;
}

.nik-vd-waveform span:nth-child(5) {
    height: 7px;
    animation-delay: 0.5s;
}

@keyframes nik-vd-wave {

    0%,
    100% {
        transform: scaleY(0.4);
    }

    50% {
        transform: scaleY(1);
    }
}

#nik-vd-click-counter {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.nik-vd-dock-btn {
    border: none;
    border-radius: 24px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.15s ease, background 0.15s ease;
}

.nik-vd-dock-btn:hover {
    transform: scale(1.03);
}

#nik-vd-stop-btn {
    background: #16a34a;
    color: #ffffff;
}

#nik-vd-stop-btn:hover {
    background: #15803d;
}

#nik-vd-cancel-btn {
    background: transparent;
    color: #94a3b8;
    padding: 8px 12px;
}

#nik-vd-cancel-btn:hover {
    color: #ef4444;
}

/* Click Pin Animation on Page */
.nik-vd-click-pin {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ef4444;
    color: #ffffff;
    font-family: -apple-system, sans-serif;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99997;
    pointer-events: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    transition: opacity 0.5s ease, transform 0.5s ease;
    animation: nik-vd-pin-drop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes nik-vd-pin-drop {
    from {
        transform: scale(0.2) translateY(-20px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.nik-vd-pin-fade {
    opacity: 0;
    transform: scale(0.5);
}

.nik-vd-pin-ripple {
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 2px solid #ef4444;
    animation: nik-vd-ripple-out 1.2s infinite ease-out;
}

@keyframes nik-vd-ripple-out {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* Processing Floating State */
#nik-vd-processing {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #0f172a;
    color: #ffffff;
    border-radius: 30px;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    z-index: 99999;
    font-family: -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.nik-vd-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #38bdf8;
    border-radius: 50%;
    animation: nik-vd-spin 0.8s linear infinite;
}

@keyframes nik-vd-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success Modal */
#nik-vd-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    padding: 20px;
    box-sizing: border-box;
}

.nik-vd-modal-card {
    background: #ffffff;
    max-width: 480px;
    width: 100%;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
    position: relative;
    animation: nik-vd-modal-pop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes nik-vd-modal-pop {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.nik-vd-success-icon {
    width: 56px;
    height: 56px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    font-size: 28px;
}

.nik-vd-modal-card h2 {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
}

.nik-vd-modal-subtitle {
    margin: 0 0 20px 0;
    font-size: 14px;
    color: #64748b;
}

.nik-vd-id-container {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

#nik-vd-modal-ticket-id {
    font-size: 20px;
    font-weight: 800;
    color: #0284c7;
    letter-spacing: 0.5px;
}

#nik-vd-copy-id-btn {
    background: #0284c7;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

#nik-vd-copy-id-btn:hover {
    background: #0369a1;
}

.nik-vd-modal-meta {
    text-align: left;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 24px;
    font-size: 13.5px;
    line-height: 1.5;
}

.nik-vd-modal-meta p {
    margin: 4px 0;
}

.nik-vd-dept-pill {
    background: #e2e8f0;
    color: #334155;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
}

.nik-vd-email-notice {
    font-size: 13px;
    color: #475569;
    margin-bottom: 20px;
}

.nik-vd-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.nik-vd-btn-primary {
    background: #2563eb;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    transition: background 0.2s ease;
}

.nik-vd-btn-primary:hover {
    background: #1d4ed8;
}

.nik-vd-btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.nik-vd-btn-secondary:hover {
    background: #e2e8f0;
}

/* Element Highlight during click tracking */
.nik-vd-element-highlighted {
    outline: 2px dashed #ef4444 !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4) !important;
    transition: outline 0.2s ease, box-shadow 0.2s ease;
}

/* Freemium Attribution Bar */
.nik-vd-attribution-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    color: #94a3b8;
    font-size: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-align: center;
    padding: 6px 10px;
    z-index: 99998;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

.nik-vd-attribution-bar a {
    color: #38bdf8 !important;
    text-decoration: none !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 4px;
}

.nik-vd-attribution-bar a:hover {
    text-decoration: underline !important;
    color: #7dd3fc !important;
}

.nik-vd-attribution-bar .nik-vd-logo-light {
    display: none !important;
}

.nik-vd-attribution-bar .nik-vd-logo-dark {
    display: inline-block !important;
}

.nik-portal-footer-attribution {
    text-align: center;
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid #edf2f7;
    font-size: 12px;
    color: #94a3b8;
}

.nik-portal-footer-attribution a {
    color: #0284c7;
    text-decoration: none;
    font-weight: 600;
}

.nik-portal-footer-attribution a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Customer Portal & Ticket Dashboard Styles
   ========================================================================== */
.nik-portal-wrap { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #1e293b; max-width: 960px; margin: 20px auto; transition: background-color 0.2s ease, color 0.2s ease; }
.nik-portal-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #edf2f7; padding-bottom: 16px; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.nik-portal-title { margin: 0; font-size: 22px; font-weight: 700; color: #0f172a; }
.nik-portal-theme-btn { display: inline-flex; align-items: center; gap: 6px; background: #f1f5f9; border: 1px solid #cbd5e1; color: #334155; border-radius: 6px; padding: 6px 12px; font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; }
.nik-portal-theme-btn:hover { background: #e2e8f0; color: #0f172a; }
.nik-portal-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 18px 22px; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; transition: all 0.2s ease; gap: 16px; flex-wrap: wrap; }
.nik-portal-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.nik-portal-card-left { flex: 1; min-width: 250px; }
.nik-portal-ticket-id { font-weight: 700; font-size: 16px; color: #0284c7; margin-right: 10px; }
.nik-portal-dept-pill { background: #f1f5f9; color: #475569; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 4px; }
.nik-portal-summary { font-size: 13.5px; color: #64748b; margin-top: 6px; line-height: 1.5; }
.nik-portal-card-right { display: flex; align-items: center; gap: 14px; }
.nik-portal-btn { background: #2563eb; color: #ffffff !important; text-decoration: none !important; padding: 8px 16px; border-radius: 6px; font-weight: 600; font-size: 13px; display: inline-block; white-space: nowrap; }
.nik-portal-btn:hover { background: #1d4ed8; }
.nik-portal-pill { font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 3px 9px; border-radius: 12px; }
.nik-p-open { background: #dbeafe; color: #1e40af; }
.nik-p-in-progress { background: #fef3c7; color: #92400e; }
.nik-p-resolved { background: #dcfce7; color: #166534; }
.nik-p-closed { background: #f1f5f9; color: #475569; }
.nik-portal-empty { background: #f8fafc; border: 2px dashed #cbd5e1; border-radius: 12px; padding: 40px 20px; text-align: center; color: #64748b; }

/* Portal Dark Mode Styles */
.nik-portal-wrap.nik-portal-dark { color: #cbd5e1 !important; }
.nik-portal-wrap.nik-portal-dark .nik-portal-header { border-bottom-color: #1e293b !important; }
.nik-portal-wrap.nik-portal-dark .nik-portal-title { color: #f8fafc !important; }
.nik-portal-wrap.nik-portal-dark .nik-portal-count-label,
.nik-portal-wrap.nik-portal-dark .nik-portal-summary { color: #94a3b8 !important; }
.nik-portal-wrap.nik-portal-dark .nik-portal-card { background: #0f172a !important; border-color: #1e293b !important; color: #cbd5e1 !important; }
.nik-portal-wrap.nik-portal-dark .nik-portal-card:hover { border-color: #334155 !important; box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important; }
.nik-portal-wrap.nik-portal-dark .nik-portal-dept-pill { background: #1e293b !important; color: #38bdf8 !important; }
.nik-portal-wrap.nik-portal-dark .nik-portal-theme-btn { background: #1e293b !important; border-color: #334155 !important; color: #f8fafc !important; }
.nik-portal-wrap.nik-portal-dark .nik-portal-theme-btn:hover { background: #334155 !important; }
.nik-portal-wrap.nik-portal-dark .nik-portal-empty { background: #0f172a !important; border-color: #334155 !important; color: #94a3b8 !important; }
.nik-portal-wrap.nik-portal-dark .nik-vd-logo-light { display: none !important; }
.nik-portal-wrap.nik-portal-dark .nik-vd-logo-dark { display: inline-block !important; }
.nik-portal-wrap:not(.nik-portal-dark) .nik-vd-logo-dark { display: none !important; }

/* ==========================================================================
   Single Ticket Detail View Styles
   ========================================================================== */
.nik-detail-wrap { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #1e293b; max-width: 860px; margin: 20px auto; transition: all 0.2s ease; }
.nik-detail-back { display: inline-flex; align-items: center; color: #2563eb; text-decoration: none; font-size: 14px; font-weight: 600; }
.nik-detail-header { background: #0f172a; color: #ffffff; padding: 22px 26px; border-radius: 12px; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.nik-detail-box { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; margin-bottom: 20px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); transition: all 0.2s ease; }
.nik-detail-box h3 { margin: 0 0 12px 0; font-size: 16px; font-weight: 700; color: #0f172a; border-bottom: 1px solid #f1f5f9; padding-bottom: 10px; }
.nik-audio-player { width: 100%; outline: none; margin-top: 10px; border-radius: 8px; }
.nik-reply-card { border-radius: 8px; padding: 14px; margin-bottom: 12px; font-size: 14px; line-height: 1.5; }
.nik-reply-customer { background: #f8fafc; border: 1px solid #e2e8f0; }
.nik-reply-staff { background: #f0f9ff; border: 1px solid #bae6fd; }
.nik-reply-btn { background: #2563eb; color: #ffffff; border: none; padding: 10px 22px; border-radius: 6px; font-weight: 600; cursor: pointer; font-size: 14px; }
.nik-reply-btn:hover { background: #1d4ed8; }
.nik-detail-theme-btn { display: inline-flex; align-items: center; gap: 6px; background: #f1f5f9; border: 1px solid #cbd5e1; color: #334155; border-radius: 6px; padding: 6px 12px; font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; }
.nik-detail-theme-btn:hover { background: #e2e8f0; color: #0f172a; }

/* Single View Dark Mode Styles */
.nik-detail-wrap.nik-portal-dark { color: #cbd5e1 !important; }
.nik-detail-wrap.nik-portal-dark .nik-detail-back { color: #38bdf8 !important; }
.nik-detail-wrap.nik-portal-dark .nik-detail-box { background: #0f172a !important; border-color: #1e293b !important; color: #cbd5e1 !important; }
.nik-detail-wrap.nik-portal-dark .nik-detail-box h3,
.nik-detail-wrap.nik-portal-dark .nik-detail-box h4 { color: #f8fafc !important; border-bottom-color: #1e293b !important; }
.nik-detail-wrap.nik-portal-dark .nik-reply-customer { background: #1e293b !important; border-color: #334155 !important; color: #cbd5e1 !important; }
.nik-detail-wrap.nik-portal-dark .nik-reply-customer strong,
.nik-detail-wrap.nik-portal-dark .nik-reply-staff strong { color: #f8fafc !important; }
.nik-detail-wrap.nik-portal-dark .nik-reply-staff { background: #0b1e3a !important; border-color: #0369a1 !important; color: #e0f2fe !important; }
.nik-detail-wrap.nik-portal-dark .nik-detail-box textarea { background: #0f172a !important; border-color: #334155 !important; color: #f8fafc !important; }
.nik-detail-wrap.nik-portal-dark .nik-detail-theme-btn { background: #1e293b !important; border-color: #334155 !important; color: #f8fafc !important; }
.nik-detail-wrap.nik-portal-dark .nik-detail-theme-btn:hover { background: #334155 !important; }

/* ==========================================================================
   In-Page Notice & Error Toast (Replaces browser popups)
   ========================================================================== */
#nik-vd-notice {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100002;
    max-width: 420px;
    width: calc(100vw - 48px);
    pointer-events: auto;
    animation: nik-vd-notice-slide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#nik-vd-notice.nik-vd-notice-fadeout {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
}

.nik-vd-notice-card {
    background: #ffffff;
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
}

.nik-vd-notice-icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.nik-vd-notice-body {
    flex: 1;
    min-width: 0;
}

.nik-vd-notice-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #991b1b;
    margin-bottom: 4px;
    line-height: 1.3;
}

#nik-vd-notice.nik-vd-notice-success .nik-vd-notice-card {
    border-color: #bbf7d0;
    border-left-color: #16a34a;
}

#nik-vd-notice.nik-vd-notice-success .nik-vd-notice-title {
    color: #15803d;
}

.nik-vd-notice-msg {
    margin: 0;
    font-size: 13px;
    color: #475569;
    line-height: 1.45;
    word-break: break-word;
}

.nik-vd-notice-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    border-radius: 4px;
    transition: color 0.15s ease, background-color 0.15s ease;
    flex-shrink: 0;
}

.nik-vd-notice-close:hover {
    color: #0f172a;
    background-color: #f1f5f9;
}

@keyframes nik-vd-notice-slide {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}