
/* Newsletter Signup */
.ld-signup-section {
    padding: 0 var(--ld-page-pad) 2rem;
}
.ld-signup-box {
    background: linear-gradient(135deg, var(--ld-accent) 0%, var(--ld-accent2, #2c5282) 100%);
    border-radius: var(--ld-card-radius);
    padding: 1.5rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.ld-signup-headline {
    color: white;
    font-size: 1.25rem;
    margin: 0;
}
.ld-signup-sub {
    color: rgba(255,255,255,0.8);
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
}
.ld-signup-form {
    flex: 1 1 300px;
    max-width: 400px;
}
.ld-signup-fields {
    display: flex;
    gap: 0.5rem;
}
.ld-signup-email {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
}
.ld-btn--signup {
    background: white;
    color: var(--ld-accent);
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
.ld-btn--signup:hover {
    background: #f0f0f0;
}
@media (max-width: 600px) {
    .ld-signup-box { flex-direction: column; text-align: center; }
    .ld-signup-form { max-width: 100%; }
    .ld-signup-fields { flex-direction: column; }
}

/* Constrain signup section */
.ld-signup-section {
    max-width: 800px;
    margin: 0 auto;
}

/* Fix signup section */
.ld-signup-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}
.ld-signup-box {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.ld-signup-headline {
    color: white;
    font-size: 1.25rem;
    margin: 0;
    font-weight: 600;
}
.ld-signup-sub {
    color: rgba(255,255,255,0.8);
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
}
.ld-signup-form {
    flex: 1 1 300px;
    max-width: 400px;
}
.ld-signup-fields {
    display: flex;
    gap: 0.5rem;
}
.ld-signup-email {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    background: white;
}
.ld-btn--signup {
    background: #ed8936;
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
.ld-btn--signup:hover {
    background: #dd6b20;
}
@media (max-width: 600px) {
    .ld-signup-box { flex-direction: column; text-align: center; }
    .ld-signup-form { max-width: 100%; }
    .ld-signup-fields { flex-direction: column; }
}
/* Portal Login Fix */
.ld-portal-gate { max-width:420px; margin:3rem auto; background:white; border-radius:16px; padding:2.5rem; box-shadow:0 4px 24px rgba(0,0,0,0.08); }
.ld-portal-gate__title { font-size:1.75rem; font-weight:800; text-align:center; margin-bottom:0.5rem; }
.ld-portal-gate__sub { text-align:center; color:#718096; font-size:0.9rem; margin-bottom:2rem; }
.ld-portal-gate label { display:block; font-size:0.85rem; font-weight:600; margin-bottom:0.5rem; }
.ld-portal-gate input[type=text], .ld-portal-gate input[type=password] { width:100%; padding:0.75rem 1rem; border:2px solid #e2e8f0; border-radius:8px; font-size:1rem; box-sizing:border-box; }
.ld-portal-gate .login-remember { display:flex; align-items:center; gap:0.5rem; margin:1rem 0; font-size:0.85rem; }
.ld-portal-gate .login-remember input { width:auto; }
.ld-portal-gate input[type=submit] { width:100%; padding:0.875rem; background:#e53e3e; color:white; border:none; border-radius:8px; font-size:1rem; font-weight:600; cursor:pointer; margin-top:1rem; }

/* Elegant form styling - stack labels */
.ld-portal-gate form p,
.ld-portal-gate .login-username,
.ld-portal-gate .login-password {
    text-align: left;
}
.ld-portal-gate form label {
    display: block;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.ld-portal-gate form input[type=text],
.ld-portal-gate form input[type=password],
.ld-portal-gate form input[type=email] {
    width: 100% !important;
    display: block;
    padding: 0.875rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.ld-portal-gate form input:focus {
    outline: none;
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229,62,62,0.1);
}
.ld-portal-gate form input[type=submit] {
    width: 100%;
    padding: 1rem;
    background: #e53e3e;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.2s;
}
.ld-portal-gate form input[type=submit]:hover {
    background: #c53030;
}

/* Center the portal gate */
.ld-portal-main {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.ld-portal-wrap {
    width: 100%;
}

/* Portal Gate - Force Styling */
.ld-portal-gate {
    max-width: 420px !important;
    margin: 0 auto !important;
    background: white !important;
    border-radius: 16px !important;
    padding: 2.5rem !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08) !important;
}
.ld-portal-gate__title {
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin-bottom: 0.5rem !important;
}
.ld-portal-gate__sub {
    text-align: center !important;
    color: #718096 !important;
    font-size: 0.9rem !important;
    margin-bottom: 2rem !important;
}
.ld-portal-gate form p {
    margin-bottom: 1rem !important;
    text-align: left !important;
}
.ld-portal-gate form label {
    display: block !important;
    text-align: left !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #4a5568 !important;
    margin-bottom: 0.4rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}
.ld-portal-gate form input[type=text],
.ld-portal-gate form input[type=password],
.ld-portal-gate form input[type=email] {
    width: 100% !important;
    display: block !important;
    padding: 0.875rem 1rem !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    box-sizing: border-box !important;
}
.ld-portal-gate form input[type=submit] {
    width: 100% !important;
    padding: 1rem !important;
    background: #e53e3e !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}
.ld-portal-gate form input[type=submit]:hover {
    background: #c53030 !important;
}
