/* Bac2Me Login Form Styles */

.bac2me-login-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: auto;
    background: linear-gradient(135deg, #0a7ea4 0%, #1a5f7a 100%);
    padding: 40px 10px 40px 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.bac2me-login-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 25px;
    max-width: 360px;
    width: 100%;
}

.bac2me-login-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
    text-align: center;
}

.bac2me-login-subtitle {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin: 0 0 16px 0;
}

.bac2me-form-group {
    margin-bottom: 16px;
}

.bac2me-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.bac2me-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.bac2me-input:focus {
    outline: none;
    border-color: #0a7ea4;
    box-shadow: 0 0 0 3px rgba(10, 126, 164, 0.1);
}

.bac2me-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.bac2me-password-wrapper .bac2me-input {
    padding-right: 40px;
}

.bac2me-toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 4px 8px;
    transition: opacity 0.2s;
}

.bac2me-toggle-password:hover {
    opacity: 0.7;
}

.bac2me-form-group.checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.bac2me-form-group.checkbox input {
    width: auto;
    margin-right: 8px;
    cursor: pointer;
}

.bac2me-form-group.checkbox label {
    margin: 0;
    cursor: pointer;
    font-weight: 400;
}

.bac2me-button {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, #0a7ea4 0%, #1a5f7a 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 12px;
}

.bac2me-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(10, 126, 164, 0.4);
}

.bac2me-button:active {
    transform: translateY(0);
}

.bac2me-button.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.bac2me-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.bac2me-message.error {
    background-color: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.bac2me-message.success {
    background-color: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

.bac2me-login-links {
    text-align: center;
    margin-top: 12px;
    margin-bottom: 12px;
}

.bac2me-link {
    color: #0a7ea4;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.bac2me-link:hover {
    color: #1a5f7a;
    text-decoration: underline;
}

.bac2me-login-footer {
    text-align: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

.bac2me-login-footer a {
    color: #0a7ea4;
    text-decoration: none;
}

.bac2me-login-footer a:hover {
    text-decoration: underline;
}

/* Hide WordPress footer and duplicate logo on login page */
footer,
.site-footer,
.footer,
.wp-footer {
    display: none !important;
}

/* Hide duplicate logo/branding at bottom */
.site-info,
.footer-logo,
.footer-branding {
    display: none !important;
}

@media (max-width: 480px) {
    .bac2me-login-container {
        padding: 8px;
    }
    
    .bac2me-login-card {
        padding: 24px 18px;
    }
    
    .bac2me-login-title {
        font-size: 24px;
    }
}