.wpforms-max-error {
    font-weight: bold;
    font-size: 14px;
    color: red;
}

.wpforms-field input.wpforms-stripe-amount {
    border: 2px solid #ccc;
    padding: 5px;
    max-width: 200px;
    transition: border-color 0.2s ease;
}





/* ---------------- Password Page Background ---------------- */
body.pw-page {
    background-color: #ffffff !important; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ---------------- Header ---------------- */
body.pw-page .site-header {
    background-color: rgba(17, 54, 62, 0.85) !important; /* Semi-transparent */
    z-index: 1000;
}

/* ---------------- Main Content Vertical Centering ---------------- */
body.pw-page .site-content {
    flex: 1;
    display: flex;
    justify-content: center; 
    align-items: center;     
    padding: 180px 0;       
}

/* ---------------- Password Form ---------------- */
.post-password-form {
    max-width: 420px;
    width: 90%;              
    padding: 20px;
    background: #f2f2f2;      
    border-radius: 6px;
    box-shadow: none;         
    text-align: center;
    position: relative;
    margin: 60px 0;          
}

/* ---------------- Logo Above Form ---------------- */
.post-password-form::before {
    content: "";
    display: block;
    background-image: url('https://kingswellwattssolicitors.co.uk/wp-content/uploads/2025/11/moodboard_4-removebg-preview.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 300px;   
    height: 120px;  
    margin: 0 auto 30px auto; 
}

/* Responsive logo for smaller screens */
@media (max-width: 480px) {
    .post-password-form::before {
        width: 200px;
        height: 80px;
    }
    .post-password-form {
        width: 95%;
        padding: 15px;
        margin: 40px 0;
    }
}

/* ---------------- Password Prompt Bold ---------------- */
.post-password-form p {
    font-weight: bold; 
    color: inherit;    
}

/* ---------------- Password Error Message ---------------- */
.post-password-form .password-error {
    color: #FF0000;                      /* Red text */
    font-weight: normal !important;      /* Normal weight */
    margin-bottom: 12px;                 /* Space below error before input */
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    text-align: center;                  /* Center inside the form */
}

/* Force all children (including asterisk) to normal weight */
.post-password-form .password-error * {
    font-weight: normal !important;
}

/* ---------------- Remove label text ---------------- */
.post-password-form label {
    color: transparent;  
    font-size: 0;        
    line-height: 0;
    height: 0;
    margin: 0;
    padding: 0;
}

/* ---------------- Password Input ---------------- */
.post-password-form input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid #dddddd;
    background: #ffffff; 
    font-size: 14px;
    font-family: Helvetica, Arial, sans-serif;
    margin-bottom: 12px;
}

/* Placeholder styling */
.post-password-form input[type="password"]::placeholder {
    color: #999999;         
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
}

/* ---------------- Submit Button ---------------- */
.post-password-form input[type="submit"] {
    background: #CBA557;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 12px 30px;
    font-size: 14px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: normal;
    cursor: pointer;
    transition: color 0.3s ease;
}

.post-password-form input[type="submit"]:hover {
    color: #11363E;
}

/* ---------------- Menu Styling ---------------- */
body.pw-page .main-navigation a {
    color: #ffffff !important; 
}

body.pw-page .main-navigation a:hover {
    color: #CBA557 !important; 
}

/* Mobile menu toggle */
body.pw-page .ast-mobile-menu-buttons .menu-toggle,
body.pw-page .ast-mobile-menu-buttons .menu-toggle:hover {
    color: #ffffff !important;
}
