/* =====================================================
   AUTH SHARED STYLES (Restored)
   ===================================================== */

:root {
    --auth-primary: #FF6B1A;
    --auth-primary-dark: #E55A0D;
    --auth-surface: #FFFFFF;
    --auth-bg-soft: #F5EDE6;
    --auth-text: #1C1612;
    --auth-text-muted: #7A6F68;
    --auth-text-light: #A89E96;
    --auth-border: #E8DED7;
    --auth-danger: #FF3B30;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn-app {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px 24px;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    outline: none;
    text-align: center;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
.btn-app-primary {
    background: var(--auth-primary);
    color: white;
    box-shadow: 0 4px 16px rgba(255, 107, 26, 0.35);
}
.btn-app-primary:hover, .btn-app-primary:focus {
    background: var(--auth-primary-dark);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 107, 26, 0.45);
    transform: translateY(-1px);
}
.btn-app-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 107, 26, 0.30);
}
.btn-app-secondary {
    background: var(--auth-surface);
    color: var(--auth-text);
    border: 1.5px solid var(--auth-border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.btn-app-secondary:hover {
    background: #FAF7F4;
    border-color: var(--auth-primary);
    color: var(--auth-primary);
}

/* =====================================================
   FORM INPUTS
   ===================================================== */
.input-group-app {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.input-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--auth-text);
}
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.input-icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: var(--auth-text-muted);
    pointer-events: none;
    flex-shrink: 0;
}
.input-app {
    width: 100%;
    padding: 13px 14px 13px 42px;
    border: 1.5px solid var(--auth-border);
    border-radius: 14px;
    font-size: 0.9375rem;
    color: var(--auth-text);
    background: var(--auth-surface);
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
}
.input-app::placeholder {
    color: var(--auth-text-light);
}
.input-app:focus {
    outline: none;
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 26, 0.12);
}
.input-app.is-invalid {
    border-color: var(--auth-danger);
    background-color: #FFF5F5;
}
.input-app.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.12);
}
.input-error-msg {
    font-size: 0.8125rem;
    color: var(--auth-danger);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* =====================================================
   AUTH TABS
   ===================================================== */
.auth-tabs {
    display: flex;
    background: var(--auth-bg-soft);
    border-radius: 9999px;
    padding: 4px;
    margin-bottom: 24px;
}
.auth-tab {
    flex: 1;
    padding: 10px 16px;
    border-radius: 9999px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--auth-text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    text-decoration: none;
    display: block;
}
.auth-tab.active {
    background: var(--auth-surface);
    color: var(--auth-primary);
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* =====================================================
   CHECKBOX CUSTOM
   ===================================================== */
.checkbox-app {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}
.checkbox-app input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--auth-border);
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s;
    background: var(--auth-surface);
}
.checkbox-app input[type="checkbox"]:checked {
    background: var(--auth-primary);
    border-color: var(--auth-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}
.checkbox-label {
    font-size: 0.875rem;
    color: var(--auth-text);
}

/* =====================================================
   ALERTS / MESSAGES
   ===================================================== */
.alert-app {
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 0.875rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
}
.alert-app svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}
.alert-app-danger {
    background: #FFF5F5;
    color: #C0392B;
    border: 1px solid #FECACA;
}

/* =====================================================
   DIVIDER
   ===================================================== */
.divider-app {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--auth-text-light);
    font-size: 0.8125rem;
}
.divider-app::before,
.divider-app::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--auth-border);
}
