/* ============================================
   Sdilene Pojisteni - Custom Styles
   Non-Tailwind styles extracted from HTML files
   ============================================ */

/* --- Base Typography --- */
* {
    font-family: 'Inter', sans-serif;
}

.font-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* --- Utility: Gradient Text --- */
.gradient-text {
    background: linear-gradient(135deg, #1DBEE6 0%, #0FA0C9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Utility: Gradient Background --- */
.gradient-bg {
    background: linear-gradient(135deg, #e6f7fb 0%, #ffffff 50%, #e6f7fb 100%);
}

/* --- Sidebar --- */
.sidebar-link {
    transition: all 0.2s ease;
}

.sidebar-link:hover {
    background-color: #e6f7fb;
    color: #1DBEE6;
}

.sidebar-link.active {
    background-color: #1DBEE6;
    color: white;
}

.sidebar-link.active:hover {
    background-color: #0FA0C9;
}

/* --- Dropzone --- */
.dropzone {
    border: 2px dashed #e5e7eb;
    transition: all 0.3s ease;
}

.dropzone:hover {
    border-color: #1DBEE6;
    background-color: #e6f7fb;
}

/* --- SPZ Input (wizard-auto) --- */
.spz-input {
    font-family: monospace;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- Range Slider (index.html calculator) --- */
input[type="range"] {
    -webkit-appearance: none;
    background: transparent;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #1DBEE6;
    margin-top: -10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.1s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
}

/* --- Editable Input (index.html calculator) --- */
.editable-input {
    background: transparent;
    border: none;
    font-weight: 700;
    color: #111827;
    width: 100px;
    text-align: right;
    padding: 0;
    outline: none;
}

.editable-input::-webkit-outer-spin-button,
.editable-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* --- Carousel (index.html) --- */
.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- FAQ Accordion (index.html) --- */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content.open {
    max-height: 400px;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

/* --- Nav Scroll Effect (index.html) --- */
.nav-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* --- Mobile Menu (index.html) --- */
#mobile-menu {
    display: none;
}

#mobile-menu.open {
    display: block;
}

/* --- Smooth Scroll --- */
html {
    scroll-behavior: smooth;
}

/* --- Overflow fix --- */
html, body {
    width: 100%;
    overflow-x: hidden;
}

/* --- Fade In on Scroll --- */
.fade-in {
    opacity: 1;
}

.fade-in.visible {
    opacity: 1;
}

/* --- Partner Logos (index.html) --- */
.partner-logo {
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.08);
}

/* --- Filter Tabs (contracts.html) --- */
.filter-tab {
    transition: all 0.2s ease;
}

.filter-tab.active {
    background-color: #1DBEE6;
    color: white;
}

/* --- Social Button (invite.html) --- */
.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* --- Product Card (wizard-hub.html) --- */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(29, 190, 230, 0.2);
}

/* --- Shake Animation (login-error.html) --- */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.animate-shake {
    animation: shake 0.5s;
}
