:root {
    --primary: #09090b;
    --primary-dark: #000000;
    --primary-hover: #18181b;
    --primary-light: #f4f4f5;
    --primary-border: #e4e4e7;
    
    --bg-page: #fafafa;
    --card-bg: #ffffff;
    --card-border: #e4e4e7;
    --text-main: #09090b;
    --text-secondary: #52525b;
    --text-muted: #71717a;
    --input-bg: #ffffff;
    --input-border: #d4d4d8;
    --danger: #09090b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Google Sans', 'Google Sans Text', sans-serif;
    background-color: #fafafa;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

body::before, body::after {
    display: none !important;
}

.auth-container {
    width: 100%;
    max-width: 440px;
    padding: 24px;
    z-index: 10;
}

.auth-card {
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
}

.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.brand-logo {
    width: 60px;
    height: 60px;
    background: #09090b;
    color: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.auth-header h2 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.4px;
    margin-bottom: 6px;
    color: #09090b;
}

.auth-header p {
    font-size: 13.5px;
    color: #71717a;
    line-height: 1.5;
}

/* Multi-channel indicator pills */
.channel-pills {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.channel-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
    background: #f4f4f5;
    color: #18181b;
    border: 1px solid #e4e4e7;
}

.channel-pill .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #09090b;
}

.channel-pill.wa,
.channel-pill.ig,
.channel-pill.fb {
    background: #f4f4f5;
    color: #18181b;
    border: 1px solid #e4e4e7;
}
.channel-pill.wa .dot,
.channel-pill.ig .dot,
.channel-pill.fb .dot {
    background: #09090b;
}

.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 20px;
}

.alert-danger {
    background-color: #f4f4f5;
    border: 1px solid #d4d4d8;
    color: #09090b;
}

.alert-success {
    background-color: #f4f4f5;
    border: 1px solid #d4d4d8;
    color: #09090b;
}

.auth-form {
    margin-top: 4px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 7px;
    color: #18181b;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    width: 17px;
    height: 17px;
    color: #71717a;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    background: #ffffff;
    border: 1.5px solid #d4d4d8;
    border-radius: 10px;
    color: #09090b;
    font-size: 13.5px;
    font-family: inherit;
    transition: all 0.15s ease;
}

.input-wrapper input:focus {
    outline: none;
    background: #ffffff;
    border-color: #09090b;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.input-wrapper input::placeholder {
    color: #a1a1aa;
}

.btn-submit {
    width: 100%;
    padding: 12px 16px;
    background: #09090b;
    color: #ffffff;
    border: 1px solid #09090b;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.15s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    margin-top: 8px;
}

.btn-submit:hover {
    background: #27272a;
    border-color: #27272a;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.btn-submit:active {
    transform: translateY(0);
    background: #000000;
}

.auth-footer {
    margin-top: 24px;
    border-top: 1px solid #e4e4e7;
    padding-top: 16px;
    text-align: center;
}

.features-hint {
    font-size: 11.5px;
    color: #71717a;
    line-height: 1.5;
}

@media (max-width: 480px) {
    body {
        padding: 16px 12px;
    }
    .auth-container {
        padding: 8px 4px;
    }
    .auth-card {
        padding: 28px 20px;
        border-radius: 16px;
    }
}
