/**
 * Stili per il template personalizzato di Login/Registrazione
 * File: /assets/css/form-login.css
 */

/* Reset e base */
.stemtech-login-page *, .stemtech-login-page *:before, .stemtech-login-page *:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.stemtech-login-page {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, system-ui, sans-serif;
    padding: 0px 20px;
    margin-top: 30px !important;
}

/* Override contenitori generatepress */
.stemtech-login-page .content-wrap,
.stemtech-login-page .site-content,
.stemtech-login-page .content-container,
.stemtech-login-page .site-container {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.stemtech-login-page .inside-article {
    padding: 0 !important;
}

/* Breadcrumb */
.login-breadcrumb {
    max-width: 1200px;
    margin: 0 auto 40px;
    font-size: 14px;
    color: #6b7280;
}

.login-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
}

.login-breadcrumb a:hover {
    text-decoration: underline;
}

/* Container principale */
.login-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 5px 50px 20px 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
}

/* Titolo principale */
.login-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

/* Form di login */
.login-form {
    margin-bottom: 50px;
}

.form-group {
    margin-bottom: 24px;
    text-align: left;
    position: relative; /* Aggiunto per il toggle password */
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    font-size: 15px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: #1e3a5f;
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(calc(50% + 4px)); /* Aggiustato per l'etichetta */
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    font-size: 18px;
    padding: 4px;
}

/* Link dimenticato password */
.forgot-password {
    text-align: center;
    margin: 16px 0 32px;
}

.forgot-password a {
    color: #6b7280;
    text-decoration: none;
    font-size: 18px;
}

.forgot-password a:hover {
    text-decoration: underline;
    color: #374151;
}

/* Pulsante login */
.login-button {
    width: 100%;
    background: #1e3a5f;
    color: white;
    border: none;
    padding: 18px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.login-button:hover {
    background: #c2185b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Sezione registrazione */
.registration-section {
    border-top: 2px solid #f3f4f6;
    padding-top: 10px;
}

.registration-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 32px;
}

.account-type-btn {
    padding: 20px 64px;
    margin:0px 21px 0 21px;
    border-radius: 12px;
    background: white;
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    display: block;
}

.account-type-btn:hover {
    border-color: #1e3a5f;
    background: #f8fafc;
    color: #1e3a5f;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.account-type-btn.single {
    background: #1e3a5f;
    color: white;
    font-size: 16px;
    padding: 20px 42px;
}

.account-type-btn.single:hover {
    background: #c2185b;
    border-color: #c2185b;
    color: white;
}

.required {
    color: #e91e63;
}

/* Responsive */
@media (max-width: 600px) {
    .stemtech-login-page {
        padding: 0px 16px;
    }
    
    .login-container {
        padding: 40px 24px;
        max-width: 95%;
    }
    
    .login-title {
        font-size: 1.6rem;
        white-space: normal;
        line-height: 1.2;
    }
    
    .registration-title {
        font-size: 1.3rem;
    }
}

/* Nascondi elementi WooCommerce default */
.woocommerce-form-register,
.u-column2,
.col-2 {
    display: none !important;
}

.u-columns {
    display: block !important;
}

.u-column1 {
    width: 100% !important;
    float: none !important;
}

.entry-hero-container-inner {
    display: none !important;
    margin-top: 0px !important;
}

.content-area {
  margin-top: 0px;
}
.entry-content-wrap {
  padding: 0px;
}