/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

/*Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    .container {
        max-width: 100%;
    }
}

/* Utilities */
.error {
    color: red;
}

/* JS and Vue */
[v-cloak] {display: none}


.btn-primary {
    color: #FAFAFA;
    background-color: #F97316 !important;
    border-color: #F97316 !important;
}

.btn-dark {
    color: #363E4B !important;
}

.btn-light {
    color: #2a2a2a !important;
}

.btn-primary:hover, .btn-primary:focus {
    opacity: 0.8;
}

button[disabled] {
    background-color: #dfdfdf !important;
}

.tabs-boxed > .tab-active {
    color: #FAFAFA !important;
    border-color: #F97316 !important;
    background-color: #F97316 !important;
}

.menu > li > a:focus {
    color: #dfdfdf !important;
}


.tabsx {
    display: flex !important;
    padding: 0 !important;
    margin-bottom: 10px;
    font-weight: 400 !important;
    background: #fff !important;
}

.tabsx > .tabx {
    color: #888 !important;
    padding: 10px 20px !important;
    border-bottom: 3px solid #fff !important;
}

.tabsx > .tab-active {
    color: #222 !important;
    border-bottom: 3px solid #444 !important;
    background: none !important;
}

/* =====================================================
   AUTH PAGE STYLES - Modern, Envoy-inspired design
   ===================================================== */

.auth-page {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #f8f9fb;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.auth-container {
    display: flex;
    min-height: 100vh;
}

/* Brand Panel - left side (desktop only) */
.auth-brand-panel {
    display: none;
    width: 45%;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e3a5f 100%);
    position: relative;
    overflow: hidden;
}

.auth-brand-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(249, 115, 22, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(251, 146, 60, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.auth-brand-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 3rem;
}

.auth-brand-logo {
    height: 3rem;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
    filter: brightness(0) invert(1);
    margin-bottom: 2.5rem;
}

.auth-brand-heading {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.auth-brand-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 400px;
    font-weight: 300;
}

@media (min-width: 1024px) {
    .auth-brand-panel {
        display: block;
    }
}

/* Form Panel - right side */
.auth-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background-color: #f8f9fb;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 420px;
}

/* Mobile logo */
.auth-mobile-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .auth-mobile-logo {
        display: none;
    }
}

/* Auth Card */
.auth-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Auth Footer */
.auth-footer {
    margin-top: 1.5rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Auth-scoped form overrides */
.auth-page .auth-card h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.auth-page .auth-card p {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
}

.auth-page .auth-card label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    display: block;
    margin-bottom: 0.375rem;
}

.auth-page .auth-card input[type="text"],
.auth-page .auth-card input[type="email"],
.auth-page .auth-card input[type="password"],
.auth-page .auth-card input[type="number"],
.auth-page .auth-card input[type="url"],
.auth-page .auth-card input[type="tel"],
.auth-page .auth-card input[type="date"] {
    height: 2.75rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 0 0.875rem;
    font-size: 0.9375rem;
    color: #111827;
    background-color: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
    display: block;
    box-sizing: border-box;
    font-family: inherit;
}

.auth-page .auth-card input[type="text"]:focus,
.auth-page .auth-card input[type="email"]:focus,
.auth-page .auth-card input[type="password"]:focus,
.auth-page .auth-card input[type="number"]:focus,
.auth-page .auth-card input[type="url"]:focus,
.auth-page .auth-card input[type="tel"]:focus,
.auth-page .auth-card input[type="date"]:focus {
    border-color: #F97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
    outline: none;
}

.auth-page .auth-card input::placeholder {
    color: #9ca3af;
}

.auth-page .auth-card select {
    height: 2.75rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 0 0.875rem;
    font-size: 0.9375rem;
    color: #111827;
    background-color: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
    font-family: inherit;
}

.auth-page .auth-card select:focus {
    border-color: #F97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
    outline: none;
}

.auth-page .auth-card textarea {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    color: #111827;
    background-color: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
    font-family: inherit;
}

.auth-page .auth-card textarea:focus {
    border-color: #F97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
    outline: none;
}

/* Auth buttons */
.auth-page .btn-primary {
    height: 2.75rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    font-family: inherit;
    letter-spacing: 0;
    transition: background-color 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

.auth-page .btn-primary:hover {
    opacity: 0.9;
    box-shadow: 0 1px 3px rgba(249, 115, 22, 0.3);
}

.auth-page .btn-primary:active {
    transform: translateY(0);
    opacity: 0.85;
}

.auth-page .btn-neutral {
    height: 2.75rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    font-family: inherit;
    transition: background-color 0.15s ease, opacity 0.15s ease;
    cursor: pointer;
}

.auth-page .btn-w-full {
    width: 100%;
}

/* Auth links */
.auth-page a {
    color: #EA580C;
    text-decoration: none;
    transition: color 0.15s ease;
}

.auth-page a:hover {
    color: #C2410C;
}

/* Auth form group spacing */
.auth-page .auth-card .my-4 {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

/* Password field wrapper in auth */
.auth-page .auth-card .relative input[type="password"] {
    padding-right: 2.75rem;
}

/* Error messages */
.auth-page .auth-card .p-2.bg-red-500 {
    border-radius: 6px;
    font-size: 0.8125rem;
    margin-top: 0.375rem;
}

/* reCAPTCHA */
.auth-page .g-recaptcha {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* Auth divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: #9ca3af;
    font-size: 0.8125rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #e5e7eb;
}

.auth-divider span {
    padding: 0 0.75rem;
}

/* Signup account type cards */
.auth-page .account-type-card {
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    border: 1.5px solid #e5e7eb;
    background-color: #f9fafb;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    text-decoration: none;
    color: inherit;
}

.auth-page .account-type-card:hover {
    border-color: #F97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.08);
    background-color: #ffffff;
    color: inherit;
}

.auth-page .account-type-card h2 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.375rem;
}

.auth-page .account-type-card p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* Step indicator */
.auth-step-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.auth-step-indicator .step-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #d1d5db;
}

.auth-step-indicator .step-dot.active {
    background-color: #F97316;
}
