/**
 * Stili per la pagina di registrazione personalizzata
 * Salva come: generatepress-child/woocommerce/registrazione/page-registrazione.css
 */

.stemtech-registration-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;
}

.registration-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 40px 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.registration-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: -0.02em;
}

.registration-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 40px;
    padding: 30px;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

.form-section h3 {
    color: #1e3a5f;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.form-row {
    margin-bottom: 24px;
}

.form-row-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

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

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

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

.form-row input:disabled {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

/* Sezioni dinamiche nascoste per default */
.private-fields, .business-fields {
    display: none;
}

.private-fields.show, .business-fields.show {
    display: block;
}

.exclusive-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.required {
    color: #e91e63;
}


.field-help {
    color: #6b7280;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Stili specifici per le checkbox della privacy */
.checkbox-row {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    gap: 12px;
    line-height: 1.5;
    flex-direction: row;
}

.checkbox-label input[type="checkbox"] {
    order: 1;
    margin: 0;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #1e3a5f;
}

.checkbox-text {
    order: 2;
    flex: 1;
    color: #374151;
    font-size: 15px;
    font-weight: 500;
}

.checkbox-text a {
    color: #1e3a5f;
    text-decoration: none;
}

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

.submit-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-top: 30px;
}

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

.login-link {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #f3f4f6;
}

.login-link a {
    color: #1e3a5f;
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    color: #c2185b;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .stemtech-registration-page {
        padding: 0px 16px;
    }
    
    .registration-container {
        padding: 30px 24px;
        max-width: 95%;
    }
    
    .registration-title {
        font-size: 1.8rem;
    }
    
    .form-row-half {
        grid-template-columns: 1fr;
    }
    
    .exclusive-fields {
        grid-template-columns: 1fr;
    }
}

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

.entry-hero-container-inner {
    display: none !important;
}

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

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