/* assets/css/style.css */

/* Base Font & Body */
body {
    background-color: #111827; /* Tailwind gray-900 */
    color: #f3f4f6;            /* Tailwind gray-100 */
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(31, 41, 55, 0.7); /* Semi-transparent gray-800 */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.glass-nav {
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Custom Scrollbar (Webkit) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1f2937; 
}

::-webkit-scrollbar-thumb {
    background: #4b5563; 
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280; 
}

/* Utility Classes */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Form Autofill Fix (Prevent ugly white background) */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: white !important;
    -webkit-box-shadow: 0 0 0px 1000px #1f2937 inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Google Translate Widget Override */
.goog-te-gadget-simple {
    background-color: #1f2937 !important;
    border: 1px solid #374151 !important;
    padding: 6px 12px !important;
    border-radius: 0.5rem !important;
    line-height: 1.5 !important;
    display: flex !important;
    align-items: center !important;
}

.goog-te-gadget-simple span {
    color: #e5e7eb !important;
    font-weight: 600 !important;
}

.goog-te-gadget-icon {
    display: none !important;
}

/* Chat Message Bubbles */
.chat-bubble-user {
    background: #2563eb;
    color: white;
    border-radius: 12px 12px 0 12px;
}

.chat-bubble-admin {
    background: #374151;
    color: #e5e7eb;
    border-radius: 12px 12px 12px 0;
    border: 1px solid #4b5563;
}

/* Animations */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(59, 130, 246, 0.5); }
    50% { box-shadow: 0 0 25px rgba(59, 130, 246, 0.8); }
}

.animate-pulse-glow {
    animation: pulse-glow 2s infinite;
}