/**
 * Frontend Auth CSS for 75 Challenge - Peach Design
 */

/* Global Auth Styles */
.peach-auth {
    min-height: 100vh;
    background-color: #FFE8F9;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 30px;
}

.peach-auth__wrap {
    max-width: 390px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Brand Header */
.peach-auth__brand {
    text-align: center;
    margin-bottom: 40px;
}

.peach-auth__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.peach-auth__logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.peach-auth__subtitle {
    color: #6B7280;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

/* Auth Card */
.peach-auth__card {
    background: #FFFFFF;
    border-radius: 15px;
    width: 350px;
    max-width: 100%;
    padding: 26px 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
}

.peach-auth__card--centered {
    text-align: center;
}

.peach-auth__title {
    color: #2D2D2D;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.3;
}

/* Form */
.peach-auth__form {
    display: flex;
    flex-direction: column;
}

.peach-auth__field {
    margin-bottom: 14px;
}

/* Referral code field is now visible */

.peach-auth__label {
    display: block;
    color: #6B7280;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.peach-auth__remember {
    display: flex;
    align-items: center;
    color: #6B7280;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    margin-top: -5px;
    margin-bottom: 5px;
}

.peach-auth__remember input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #EB56AC;
}

.peach-auth__input {
    width: 100%;
    height: 48px;
    border-radius: 50px !important;
    border: 1px solid #D1D5DB;
    background: #FFFFFF;
    color: #2D2D2D;
    padding: 0 18px;
    font-size: 16px;
    font-family: 'Figtree', sans-serif;
    font-weight: 400;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.peach-auth__input::placeholder {
    color: #9CA3AF;
}

.peach-auth__input:focus {
    outline: none;
    border-color: #EB56AC;
}

.peach-auth__input:hover {
    border-color: #9CA3AF;
}

/* Ensure all input types and specific IDs are pill shape */
.peach-auth__input[type="text"],
.peach-auth__input[type="email"],
.peach-auth__input[type="tel"],
.peach-auth__input[type="password"],
.peach-auth__input[type="number"],
.peach-auth__input[type="search"],
.peach-auth__input[type="url"],
input.peach-auth__input,
#peach-login-email,
#peach-login-password,
#peach-register-email,
#peach-register-password,
#peach-register-first-name,
#peach-register-last-name,
#peach-register-phone,
#peach-register-referral-code {
    border-radius: 50px !important;
}

/* Error Message */
.peach-auth__error {
    background: #FEE2E2;
    color: #DC2626;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

.peach-auth__message {
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

.peach-auth__message--success {
    background: #D1FAE5;
    color: #065F46;
}

.peach-auth__text {
    color: #6B7280;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: center;
}

.peach-auth__forgot {
    display: inline-block;
    color: rgba(234, 86, 172, 1);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    margin-top: 4px;
}

.peach-auth__forgot:hover {
    color: rgba(255, 178, 225, 1);
    text-decoration: underline;
}

/* Submit Button */
.peach-auth__submit {
    width: 100%;
    height: 52px;
    border-radius: 50px !important;
    background: rgba(255, 178, 225, 1) !important;
    color: #000000 !important;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.05em;
    border: none !important;
    cursor: pointer;
    margin: 20px 0 0;
    transition: background-color 0.2s ease, transform 0.1s ease;
    font-family: 'Figtree', sans-serif;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.peach-auth__submit:hover {
    background: rgba(234, 86, 172, 1) !important;
    transform: translateY(-1px);
}

.peach-auth__submit:active {
    transform: translateY(0);
}

.peach-auth__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.peach-auth__submit:disabled:hover {
    background: #FFD3F2;
    transform: none;
}

/* Switch Link */
.peach-auth__switch {
    color: rgba(234, 86, 172, 1) !important;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    text-decoration: none !important;
    margin-bottom: 40px;
    transition: color 0.2s ease;
}

.peach-auth__switch:hover {
    color: rgba(255, 178, 225, 1) !important;
    text-decoration: none !important;
}

/* Footer */
.peach-auth__footer {
    color: #6B7280;
    font-size: 12px;
    text-align: center;
    margin-top: auto;
}

/* Responsive */
@media (max-width: 390px) {
    .peach-auth {
        padding-top: 20px;
    }
    
    .peach-auth__wrap {
        padding: 20px 15px 20px;
    }
    
    .peach-auth__card {
        width: 100%;
        padding: 24px 20px;
    }
    
    .peach-auth__logo {
        font-size: 40px;
    }
    
    .peach-auth__subtitle {
        font-size: 14px;
    }
    
    .peach-auth__submit {
        width: 100%;
        max-width: 220px;
    }
}
