body {
    background: linear-gradient(to right, #fce4ec, #f8bbd0);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-box {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    width: 100%;
    max-width: 400px; /* increased from 420px */
    min-height: 500px; /* reserve more vertical space */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    margin: 4rem auto;
}


.login-box h3 {
    color: #d81b60;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-control {
    border-radius: 0.75rem;
    border: 1px solid #f48fb1;
}

.secondary-button {
    background-color: #ec407a;
    border: none;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    width: 100%;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    line-height: 1.5; /* Ensures vertical centering */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px; /* Optional: set a consistent height */
}


.secondary-button:hover {
    background-color: #d81b60;
}

.password-wrapper {
    position: relative;
}

.password-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #ec407a;
    cursor: pointer;
}

.forgot-link {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: #d81b60;
}

.forgot-link:hover {
    text-decoration: underline;
}

.cf-turnstile,
#turnStileBox {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 70px;
    height: 70px; /* ensures no layout shift */
    overflow: hidden;
    transition: none !important; /* prevent animation flicker */
    margin-top: 1rem;
    margin-bottom: 2rem; /* Increased spacing below */
}

