/* SpinnPrint WooCommerce Login & Registration Form Styles */

/* General Form Container */
.woocommerce-MyAccount-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

/* Form Titles */
.woocommerce-MyAccount-content h2 {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
}

/* Form Description Text */
.woocommerce-MyAccount-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.4;
}

/* Form Fields */
.woocommerce-form-login .form-row,
.woocommerce-form-register .form-row {
    margin-bottom: 15px;
}

.woocommerce-form-login input[type="text"],
.woocommerce-form-login input[type="email"],
.woocommerce-form-login input[type="password"],
.woocommerce-form-register input[type="text"],
.woocommerce-form-register input[type="email"],
.woocommerce-form-register input[type="password"] {
    width: 100%;
    padding: 11px 12px 15px !important;
    border: 2px solid #e0e0e0;
    border-radius: 4px !important;
    font-size: 18px;
    line-height: 20px !important;
    background-color: #fff;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.woocommerce-form-login input:focus,
.woocommerce-form-register input:focus {
    border-color: #ff4500;
    outline: none;
    background-color: #fff;
}

/* Placeholder styling */
.woocommerce-form-login input::placeholder,
.woocommerce-form-register input::placeholder {
    color: #999;
    font-size: 14px;
}

/* Two-column layout for First Name and Last Name */
.woocommerce-form-register .form-row-first,
.woocommerce-form-register .form-row-last {
    width: 48%;
    display: inline-block;
    vertical-align: top;
}

.woocommerce-form-register .form-row-first {
    margin-right: 4%;
}

/* Checkbox Styling */
.woocommerce-form-login .form-row label,
.woocommerce-form-register .form-row label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.woocommerce-form-login input[type="checkbox"],
.woocommerce-form-register input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    accent-color: #ff4500;
}

/* Remember Me and Email Preferences */
.woocommerce-form-login .woocommerce-form-login__rememberme,
.woocommerce-form-register .form-row {
    margin-bottom: 20px;
}

/* Forgot Password Link */
.woocommerce-LostPassword a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    float: right;
}

.woocommerce-LostPassword a:hover {
    color: #ff4500;
    text-decoration: underline;
}

/* Primary Button - Create Account / Sign In */
.woocommerce-form-login .woocommerce-button,
.woocommerce-form-register .woocommerce-button,
.woocommerce-Button {
    background-color: #ff4500;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.woocommerce-form-login .woocommerce-button:hover,
.woocommerce-form-register .woocommerce-button:hover,
.woocommerce-Button:hover {
    background-color: #e63e00;
}

/* "or" divider text */
.woocommerce-MyAccount-content .or-divider {
    text-align: center;
    margin: 15px 0;
    color: #666;
    font-size: 14px;
}

/* Secondary Button - Sign In / Create Account Link */
.woocommerce-form-login .create-account-link,
.woocommerce-form-register .signin-link {
    display: block;
    width: 100%;
    padding: 15px 30px;
    background-color: transparent;
    color: #ff4500;
    border: 2px solid #ff4500;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
    font-family: "Roboto", sans-serif !important;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    text-transform: capitalize;
}

.woocommerce-form-login .create-account-link:hover,
.woocommerce-form-register .signin-link:hover {
    background-color: #ff4500;
    color: white;
}

/* Form Description Text */
.form-description {
    color: #666 !important;
    font-size: 14px !important;
    margin-bottom: 25px !important;
    line-height: 1.4 !important;
}

/* "or" divider styling */
.or-divider {
    text-align: center;
    margin: 15px 0;
    color: #666;
    font-size: 14px;
    font-weight: normal;
}

/* Terms divider line */
.terms-divider {
    border-top: 1px solid #e0e0e0;
    margin: 25px 0 15px 0;
}

/* Terms and Conditions Text */
.terms-text {
    font-size: 12px !important;
    color: #666 !important;
    margin: 15px 0 0 0 !important;
    line-height: 1.4 !important;
    text-align: left;
}

.terms-text a {
    color: #ff4500 !important;
    text-decoration: none;
}

.terms-text a:hover {
    text-decoration: underline;
}

.woocommerce-privacy-policy-text,
.woocommerce-terms-and-conditions-wrapper {
    font-size: 12px;
    color: #666;
    margin-top: 15px;
    line-height: 1.4;
}

.woocommerce-privacy-policy-text a,
.woocommerce-terms-and-conditions-wrapper a {
    color: #ff4500;
    text-decoration: none;
}

.woocommerce-privacy-policy-text a:hover,
.woocommerce-terms-and-conditions-wrapper a:hover {
    text-decoration: underline;
}

/* Form Container Background */
.woocommerce-form-login,
.woocommerce-form-register {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .woocommerce-form-register .form-row-first,
    .woocommerce-form-register .form-row-last {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .woocommerce-MyAccount-content h2 {
        font-size: 36px;
    }
    
    .woocommerce-form-login,
    .woocommerce-form-register {
        padding: 20px;
    }
}

/* Hide labels (since we're using placeholder text) */
.woocommerce-form-login label[for="username"],
.woocommerce-form-login label[for="password"],
.woocommerce-form-register label[for="reg_email"],
.woocommerce-form-register label[for="reg_password"],
.woocommerce-form-register label[for="reg_password2"] {
    display: none;
}

/* Style the form toggle links */
.u-column1 h2,
.u-column2 h2 {
    border-bottom: none;
    margin-bottom: 20px;
}

/* Form column layout */
.u-columns.col2-set {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.u-column1,
.u-column2 {
    flex: 1;
    min-width: 300px;
}

@media (max-width: 768px) {
    .u-columns.col2-set {
        flex-direction: column;
        gap: 20px;
    }
}