/* --- TEMA ENTERPRISE CLARITY --- */
:root {
    --primary-blue: #007B9E; /* Colore estratto dal tuo logo */
    --slate-dark: #1E293B;
    --slate-medium: #475569;
    --slate-light: #94A3B8;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --border-color: #E2E8F0;
}

body {
    background-color: var(--white);
    color: var(--slate-dark);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .navbar-brand {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
}

.text-primary-blue { color: var(--primary-blue); }
.text-secondary-slate { color: var(--slate-medium); }

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}
.main-logo {
    height: 55px; /* Proporzionato per il logo 603x400 */
    width: auto;
}

.nav-link {
    color: var(--slate-dark) !important;
    font-weight: 500;
    margin: 0 10px;
}

/* Hero */
.hero-section {
    padding: 100px 0;
    background: radial-gradient(circle at top right, #f0f9ff 0%, #ffffff 100%);
}
.hero-img {
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.08));
    border-radius: 12px;
}
.trust-indicators span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 28px;
}
.btn-primary:hover {
    background-color: #006683;
    border-color: #006683;
}
.btn-outline-secondary {
    color: var(--slate-dark);
    border-color: var(--border-color);
    background: transparent;
}

/* Feature Cards */
.bg-light-soft { background-color: var(--bg-light); }
.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}
.feature-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0, 123, 158, 0.05);
}
.icon-box {
    width: 60px;
    height: 60px;
    background: #f0f9ff;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

/* Security Statement */
.security-statement-box {
    background: #111827;
    color: #F3F4F6;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-left: 5px solid var(--primary-blue);
}
.check-list { list-style: none; padding: 0; }
.check-list li { margin-bottom: 12px; font-weight: 500; }
.check-list li i { color: var(--primary-blue); margin-right: 10px; }

/* Footer */
.footer {
    padding: 80px 0 30px;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}
.footer-logo { height: 45px; width: auto; }
.footer h6 { font-weight: 700; margin-bottom: 20px; font-size: 0.9rem; text-transform: uppercase; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--slate-medium); text-decoration: none; font-size: 0.95rem; }
.footer-links a:hover { color: var(--primary-blue); }

/* Responsive */
@media (max-width: 991px) {
    .hero-section { padding: 60px 0; text-align: center; }
    .hero-section .d-flex { justify-content: center; }
    .main-logo { height: 45px; }
}
/* ------ Sezione pagina registrazione e login ---*/
/* --- AUTH PAGES (ENTERPRISE CLARITY) --- */
.auth-container {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 450px;
}

.auth-card.register-wide {
    max-width: 700px; /* Più spazio per il form B2B */
}

.auth-logo {
    height: 60px;
    width: auto;
}

.form-control, .form-select {
    border: 1px solid var(--border-color);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.95rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 123, 158, 0.1);
}

.form-label {
    font-size: 0.85rem;
    color: var(--slate-dark);
    margin-bottom: 6px;
}

/* --- NUOVO LAYOUT AUTH SPLIT (Enterprise Clarity) --- */

.bg-auth {
    background-color: #F1F5F9;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-wrapper {
    width: 100%;
    max-width: 1000px;
}

.auth-split-card {
    background: var(--white);
    display: flex;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    min-height: 650px;
}

/* Lato Sinistro */
.auth-left {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-brand-logo {
    height: 45px;
    width: auto;
}

.auth-form-content {
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
}

.auth-link {
    font-size: 0.85rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

/* Divider Social */
.auth-divider {
    text-align: center;
    position: relative;
    margin: 25px 0;
}
.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}
.auth-divider span {
    background: var(--white);
    padding: 0 15px;
    position: relative;
    font-size: 0.8rem;
    color: var(--slate-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Bottoni Social */
.btn-outline-social {
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-dark);
    transition: all 0.2s;
}
.btn-outline-social:hover {
    background: var(--bg-light);
    border-color: var(--slate-light);
}
.btn-outline-social img { width: 18px; }

/* Lato Destro */
.auth-right {
    flex: 1;
    background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?q=80&w=2070&auto=format&fit=crop'); /* Immagine professionale B2B */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 60px;
}

.auth-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0,123,158,0.2) 0%, rgba(30,41,59,0.9) 100%);
}

.auth-right-content {
    position: relative;
    z-index: 1;
}

.glass-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 991px) {
    .auth-left { padding: 40px 20px; }
}