@tailwind base;
@tailwind components;
@tailwind utilities;

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.kinetic-gradient {
    background: linear-gradient(135deg, #aaffdc 0%, #00fdc1 100%);
}
.glass-panel {
    background: rgba(34, 38, 47, 0.6);
    backdrop-filter: blur(20px);
}
.ghost-border {
    outline: 1px solid rgba(69, 72, 79, 0.15);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0b0e14; }
::-webkit-scrollbar-thumb { background: #45484f; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #00fdc1; }

/* Checkboxes */
input[type="checkbox"] {
    appearance: none;
    background-color: transparent;
    margin: 0;
    font: inherit;
    color: #00FFC2;
    width: 1.15em;
    height: 1.15em;
    border: 1px solid rgba(0, 255, 194, 0.3);
    border-radius: 2px;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

input[type="checkbox"]::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em #00FFC2;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

input[type="checkbox"]:checked::before {
    transform: scale(1);
}

input[type="checkbox"]:checked {
    border-color: #00FFC2;
    background: rgba(0, 255, 194, 0.1);
}

/* Login Glitch & Glow Animations */
@keyframes glow {
    from { text-shadow: 0 0 5px #00fdc1; }
    to { text-shadow: 0 0 20px #00fdc1, 0 0 30px #aaffdc; }
}

.glow-text {
    animation: glow 2s ease-in-out infinite alternate;
}

/* Upload Progress Bar */
#upload-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 15px;
    display: none;
}
#progress-bar {
    width: 0%;
    height: 100%;
    background: #00fdc1;
    transition: width 0.3s ease;
}

/* Modal styling overrides to match Tailwind / Stitch */
#json-modal {
    display: none; 
    position: fixed; 
    inset: 0; 
    z-index: 9999;
}
