.login .message {
    border-left-color: #00a32a;
    display: none; /* Hide by default */
}

.login .message.error {
    border-left-color: #d63638;
}

.otp-input-row {
    display: none;
    margin-top: 16px;
}

.slide-up {
    overflow: hidden;
    transition: max-height 0.5s ease-out, margin 0.5s ease-out, padding 0.5s ease-out, border 0.5s ease-out, opacity 0.3s ease-out;
    max-height: 0;
    margin-top: 0 !important;
    height: 0;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    opacity: 0;
    border-width: 0;
}
/* Honeypot field for bot protection */
.honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
}

.has-default-value {
    color: #a0a5aa !important; /* Use a light gray color for default values */
}

.phone-input-group {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
}
.country-code-group #country_code {
    flex-grow: 1;
    flex-basis: 0;
    min-width: 120px;
    font-size: 1.2em;
    float: right;
    padding-right: 5px;
    text-align: center;
    border: none;
    background-color: #f0f0f0;
}
.login form #phone-input-container input[type="tel"],
.login form #email-input-container input[type="email"] {
    font-size: 1.2em;
    height: 2.5em; /* Adjust height to match font size */
    text-align: center;
    border-width: 1px;
    border: none;
    background-color: #f0f0f0;
}

.mbti-row fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.mbti-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mbti-pair {
    display: flex;
    gap: 10px;
}

.mbti-box {
    position: relative;
    width: 20px;
    height: 20px;
    border: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 9px;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}

.mbti-box input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.mbti-box input[type="radio"]:checked + label, /* This is for JS-based selection */
.mbti-box:has(input[type="radio"]:checked) { /* This is for modern browsers */
    background-color: #2271b1;
    color: #fff;
    border-color: #2271b1;
}

.mbti-box.disabled {
    background-color: #f0f0f0;
    cursor: not-allowed;
    color: #a0a5aa;
}

.mbti-unknown-label {
    margin-top: 8px;
}

#loginform p.submit {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#mbti_fieldset_login {
    border: none;
    background-color: #f0f0f0;
}