* {
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    margin: 0;
    background: #f2f4f7;
}

.xa-auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Shared card */
.xa-auth-card {
    width: 380px;
    border-radius: 16px;
    overflow: hidden;
}

/* LOGIN CARD */
.xa-login-card {
    background: url("images/hero/back-car-image.jpg") center/cover no-repeat;
    color: #fff;
    position: relative;
}

.xa-login-overlay {
    background: rgba(0,0,0,0.65);
    padding: 32px;
}

/* SIGNUP CARD */
.xa-signup-card {
    background: #fff;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.xa-auth-title {
    margin: 0;
    font-size: 24px;
}

.xa-auth-subtitle {
    color: #bbb;
    margin-bottom: 20px;
}

.xa-signup-card .xa-auth-subtitle {
    color: #666;
}

.xa-input-group {
    margin-bottom: 15px;
}

.xa-input-group input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.xa-password-group {
    position: relative;
}

.xa-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.xa-forgot {
    text-align: right;
    margin-bottom: 15px;
}

.xa-forgot a {
    font-size: 14px;
    color: #4da3ff;
}

.xa-primary-btn {
    width: 100%;
    padding: 12px;
    background: #0066ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.xa-divider {
    text-align: center;
    margin: 20px 0;
    color: #aaa;
}

.xa-google-btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
}

.xa-password-strength {
    height: 6px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.xa-strength-bar {
    height: 100%;
    width: 0%;
    background: green;
    transition: width 0.3s;
}

.xa-checkbox {
    font-size: 14px;
    display: block;
    margin-bottom: 15px;
}

.xa-auth-footer {
    text-align: center;
    font-size: 14px;
    margin-top: 15px;
}

.xa-auth-footer a {
    color: #0066ff;
}

.xa-terms-text,
.xa-privacy-note {
    font-size: 12px;
    text-align: center;
    margin-top: 15px;
    color: #ccc;
}

.xa-signup-card .xa-privacy-note {
    color: #777;
}

.xa-hidden {
    display: none;
}
