/* VisionLogic AI - Settings Page Specific Styles */
/* DESIGNER: DSON */

/* --- Custom Style: Search Box Gradient Border Glow --- */
.search-glow {
    background-color: #1F2937;
    /* FIX: Changed default border to primary cyan to match other input boxes */
    border: 1.5px solid var(--primary-cyan) !important;
    color: white;
    transition: background-color 0.8s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

/* Hover State: Gradient Border */
.search-glow:hover {
    border: 1.5px solid transparent !important;
    background-image: linear-gradient(#1F2937, #1F2937),
        linear-gradient(to right, var(--primary-purple), var(--primary-cyan)) !important;
}

/* Focus/Active State: Darker background with Cyan Glow */
.search-glow:focus {
    background-color: var(--bg-dark) !important;
    background-image: none !important;
    border: 1.5px solid var(--primary-cyan) !important;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

/* Focus + Hover State: Maintain dark background with Gradient Border */
.search-glow:focus:hover {
    background-image: linear-gradient(var(--bg-dark), var(--bg-dark)),
        linear-gradient(to right, var(--primary-purple), var(--primary-cyan)) !important;
}

/* ========================================== */
/* TEXTAREA CUSTOM SCROLLBAR (MOBILE FIX)     */
/* ========================================== */

/* 1. Adjust the overall width of the scrollbar for a sleek, non-bulky look */
textarea.input-glow::-webkit-scrollbar {
    width: 6px;
}

/* 2. Scrollbar track (background) */
textarea.input-glow::-webkit-scrollbar-track {
    background: transparent;
    /* Core Magic: Use margin to indent the scrollbar vertically, perfectly bypassing the rounded-xl corners! */
    margin: 12px 0; 
}

/* 3. Scrollbar thumb (the draggable part) */
textarea.input-glow::-webkit-scrollbar-thumb {
    background-color: #7064FF; /* Premium purple specified by DSON */
    border-radius: 10px;       /* Ensure the thumb itself has rounded edges */
}

/* 4. Hover feedback for the thumb (Bonus interaction for desktop users) */
textarea.input-glow::-webkit-scrollbar-thumb:hover {
    background-color: #BD00FF; /* Transitions to neon purple on hover */
}

/* ========================================== */
/* 🌟 GHOST PADDING & MARGIN FIX              */
/* ========================================== */

/* Force reset padding and margin for labels, paragraphs, and headings inside forms and sections */
form p, section p, form label, section label, section h3 {
    padding-left: 0 !important;
    margin-left: 0 !important;
    text-indent: 0 !important;
}