/* 
   AuraTools Enterprise Styles 
   v1.1.0 | MJI PVT LTD
*/



/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* --- Print Styles --- */
@media print {
    body {
        background: white !important;
        color: black !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .no-print {
        display: none !important;
    }

    .print-only {
        display: block !important;
    }

    .glass-panel {
        background: white !important;
        border: none !important;
        box-shadow: none !important;
    }

    input,
    textarea {
        border: none !important;
        background: transparent !important;
        padding: 0 !important;
        resize: none !important;
        color: black !important;
        box-shadow: none !important;
    }

    /* Hide placeholder text in print if empty */
    input::placeholder,
    textarea::placeholder {
        color: transparent !important;
    }
}

.print-only {
    display: none;
}

/* --- Glassmorphism Utilities --- */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-input {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    transition: all 0.2s;
}

.glass-input:focus {
    background: rgba(15, 23, 42, 0.8);
    border-color: #06b6d4;
    /* brand-cyan */
    outline: none;
    box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
}

.glass-input::placeholder {
    color: #64748b;
}

/* --- Animations --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

/* --- Modal Transitions --- */
.modal-backdrop {
    transition: opacity 0.3s ease;
}

.modal-content {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal-hidden .modal-backdrop {
    opacity: 0;
    pointer-events: none;
}

.modal-hidden .modal-content {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

/* --- Toast Notifications --- */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 24rem;
}

.toast.show {
    transform: translateX(0);
}

.toast-success {
    border-left: 4px solid #10b981;
}

.toast-error {
    border-left: 4px solid #ef4444;
}