/* EmaTedarik Premium Minimal Auth Styles - Black & White Edition */
:root {
    --auth-primary: #000000;
    --auth-primary-hover: #1a1a1a;
    --auth-bg: #fdfdfd;
    --auth-card-bg: #ffffff;
    --auth-text: #0a0a0b;
    --auth-text-muted: #64748b;
    --auth-border: #f1f5f9;
    --auth-input-bg: #f8fafc;
    --auth-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.08);
    --auth-radius: 24px;
    --auth-font: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    --auth-transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-layout {
    background-color: var(--auth-bg) !important;
    width: 100%;
    max-width: 480px;
    perspective: 1200px;
    display: grid;
    align-items: center;
    align-content: center;
}

/* Hide Default Site Elements */
header,
footer,
.navbar,
.footer,
.mobile-header-top,
.mobile-bottom-nav {
    display: none !important;
}

html,
body {
    height: 100% !important;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--auth-bg) !important;
    font-family: var(--auth-font);
    color: var(--auth-text);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

.auth-card {
    background: var(--auth-card-bg);
    border-radius: var(--auth-radius);
    box-shadow: var(--auth-shadow);
    padding: 60px 48px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    animation: cardEntrance 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Logo Design */
.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo img {
    max-height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.auth-logo img:hover {
    transform: scale(1.05);
}

/* Premium Header in Card */
.auth-tabs {
    display: flex;
    position: relative;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 48px;
    gap: 10px;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 20px 0;
    cursor: pointer;
    font-weight: 700;
    color: #94a3b8;
    transition: var(--auth-transition);
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.auth-tab.active {
    color: var(--auth-text);
}

.auth-tab-indicator {
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 3px;
    background: var(--auth-primary);
    width: 50%;
    transition: var(--auth-transition);
    border-radius: 10px;
}

.auth-tab[data-tab="register"].active~.auth-tab-indicator {
    transform: translateX(100%);
}

/* Form Elements - Minimalist Luxe */
.form-group-custom {
    margin-bottom: 24px;
    position: relative;
}

.input-custom {
    width: 100%;
    border: 1px solid #e2e8f0;
    background: var(--auth-input-bg);
    padding: 18px 24px;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--auth-text);
    outline: none;
    transition: var(--auth-transition);
    box-sizing: border-box;
}

.input-custom:focus {
    background: #fff;
    border-color: var(--auth-primary);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.input-icon-right {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    cursor: pointer;
    font-size: 1.4rem;
    transition: var(--auth-transition);
}

.input-icon-right:hover {
    color: var(--auth-primary);
    transform: translateY(-50%) scale(1.15);
}

/* Links */
.forgot-link-orange {
    /* Class name remains but style is B&W */
    color: var(--auth-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--auth-transition);
    display: inline-block;
    margin-bottom: 32px;
    opacity: 0.6;
    border-bottom: 1px solid transparent;
}

.forgot-link-orange:hover {
    opacity: 1;
    border-bottom-color: var(--auth-text);
    transform: translateX(4px);
}

/* Buttons - High Contrast Noir */
.btn-orange {
    /* Class name remains but style is B&W */
    width: 100%;
    background: var(--auth-primary);
    color: #ffffff;
    border: none;
    padding: 20px;
    border-radius: 18px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--auth-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-orange:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}

.btn-orange:active {
    transform: translateY(-1px);
}

.btn-orange:disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Panels */
.tab-panel {
    display: none;
    animation: panelSwipe 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-panel.active {
    display: block;
}

@keyframes panelSwipe {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Footer Minimal */
.auth-footer {
    text-align: center;
    margin-top: 48px;
    color: #cbd5e1;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Utilities */
.d-none {
    display: none !important;
}

.text-start {
    text-align: left;
}

/* Registration consents */
.auth-consents {
    margin-top: -6px;
}

.auth-consent-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    cursor: pointer;
}

.auth-consent-item input[type="checkbox"] {
    margin-top: 4px;
    accent-color: var(--auth-primary);
}

.auth-consent-text {
    font-size: 0.92rem;
    color: rgba(10, 10, 11, 0.85);
    line-height: 1.35;
}

.mt-3 {
    margin-top: 1.5rem;
}

.fw-bold {
    font-weight: 900;
}

/* Responsive Luxe */
@media (max-width: 500px) {
    .auth-card {
        padding: 48px 24px;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }

    .auth-layout {
        padding: 0;
        max-width: 100%;
    }
}