/* --- AUTHENTICATION STYLES --- */
#sqp-auth-container {
    max-width: 450px;
    margin: 40px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

/* Toggle Header */
.auth-toggle {
    display: flex;
    background: #f1f5f9;
    padding: 5px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.toggle-btn {
    flex: 1;
    border: none;
    padding: 10px;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    color: #64748b;
    border-radius: 8px;
    transition: 0.3s;
}

.toggle-btn.active {
    background: #ffffff;
    color: #009688;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Forms */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


.sqp-input:focus {
    outline: none;
    border-color: #009688;
    background: #ffffff;
}

/* Buttons */
.primary-auth-btn {
    background: #0071a1; /* Matching your blue "Sign In" button */
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.primary-auth-btn:hover {
    background: #005a82;
}

.auth-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 20px 0;
}

/*----------------------*/

/* Container breathing room */
.auth-card {
    padding: 25px;
    background: #fff;
}

/* Fix for squashed text in inputs and selects */
.sqp-input {
    width: 100%;
    height: 48px; /* Fixed height ensures text isn't cut off */
    padding: 0 15px;
    margin-bottom: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px; /* Prevents iOS zoom on focus */
    color: #374151;
    background-color: #ffffff;
    line-height: 48px; /* Centers text vertically */
    box-sizing: border-box;
}

/* Specific fix for the "Male/Female" and "Email" row */
.input-row {
    display: flex;
    gap: 10px;
    margin-bottom: 0; /* Let individual inputs handle bottom margin */
}

/* Ensure select arrows look clean */
select.sqp-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* The Green "Create Account" Button */
.sqp-nav-btn.success {
    background-color: #10b981; /* Nice Ethiopian green */
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    width: 100%; /* Makes it full width for better mobile tap target */
    font-size: 1.1rem;
    transition: background 0.2s, transform 0.1s;
    margin-top: 10px;
}

.sqp-nav-btn.success:hover {
    background-color: #059669;
}

.sqp-nav-btn.success:active {
    transform: scale(0.98);
}