.auth-wrapper { 
    padding: 20px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    min-height: calc(100vh - 140px); 
}

.auth-card { 
    background: #ffffff; 
    width: 100%; 
    max-width: 440px; 
    border-radius: 5px; 
    padding: 30px 20px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); 
    text-align: center; 
    border: 3px solid var(--primary); 
}

.auth-logo { 
    width: 80px; 
    height: 80px; 
    margin: 0 auto 15px auto; 
    border-radius: 50%; 
    border: 3px solid var(--primary); 
    overflow: hidden; 
    background: #fff; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    box-shadow: 0 5px 15px rgba(255, 75, 43, 0.2); 
}

.auth-logo img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.auth-card h2 { 
    font-size: 20px; 
    font-weight: 700; 
    margin-bottom: 5px; 
    color: #222; 
}

.auth-card p { 
    font-size: 13px; 
    color: var(--text-muted); 
    margin-bottom: 25px; 
}

.input-group { 
    position: relative; 
    margin-bottom: 15px; 
}

.input-group .left-icon { 
    position: absolute; 
    left: 15px; 
    top: 50%; 
    transform: translateY(-50%); 
    color: var(--secondary); 
    font-size: 16px; 
}

.input-group .right-icon { 
    position: absolute; 
    right: 15px; 
    top: 50%; 
    transform: translateY(-50%); 
    color: #bbbbbb; 
    font-size: 16px; 
    cursor: pointer; 
}

.input-group input { 
    width: 100%; 
    padding: 14px 15px 14px 45px; 
    border: 1px solid var(--input-border); 
    border-radius: 8px; 
    font-size: 14px; 
    background: #FAFAFA; 
    outline: none; 
    transition: 0.3s; 
    box-sizing: border-box;
}

.input-group input:focus { 
    border-color: var(--secondary); 
    background: #ffffff; 
}

.form-options { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-size: 12px; 
    margin-bottom: 20px; 
    color: var(--text-muted); 
}

.checkbox-wrapper { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    cursor: pointer; 
}

.checkbox-wrapper input { 
    accent-color: var(--primary); 
}

.forgot-link { 
    color: var(--text-muted); 
    text-decoration: none; 
}

.btn-submit { 
    width: 100%; 
    padding: 14px; 
    background: linear-gradient(90deg, var(--primary), var(--secondary)); 
    color: #fff; 
    border: none; 
    border-radius: 8px; 
    font-size: 16px; 
    font-weight: 600; 
    cursor: pointer; 
    margin-bottom: 20px; 
    box-shadow: 0 4px 10px rgba(255, 75, 43, 0.2); 
    transition: 0.3s;
}

.btn-submit:hover {
    opacity: 0.9;
}

.auth-footer { 
    font-size: 13px; 
    color: var(--text-muted); 
}

.auth-footer a { 
    color: var(--primary); 
    font-weight: 700; 
    text-decoration: none; 
}

.text-danger { 
    color: #FF4B2B; 
}

.alert-error {
    background: #fff0ed;
    border: 1px solid #ffc2b3;
    color: #FF4B2B;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    text-align: left;
}

.referral-error-msg {
    background: #fff0ed;
    border: 1px solid #ffc2b3;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    color: #FF4B2B;
    font-size: 13px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.upline-card {
    display: flex;
    align-items: center;
    background: #FAFAFA;
    border: 1px solid var(--input-border);
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: left;
    gap: 15px;
    transition: 0.3s;
}

.upline-card:hover {
    border-color: var(--secondary);
    background: #ffffff;
}

.upline-img img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary);
}

.upline-info {
    display: flex;
    flex-direction: column;
}

.upline-title {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.upline-name {
    margin: 0;
    font-size: 16px;
    color: #222;
    font-weight: 700;
}

.upline-phone {
    font-size: 13px;
    color: var(--secondary);
    margin-top: 3px;
    font-weight: 600;
}
