.bb-register-wrap {
    position: relative;
    margin-bottom: 2rem;
}

.error-text {
    display: none;
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
    width: 100%;
}

.message {
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    text-align: center;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

input.is-invalid,
textarea.is-invalid {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.toggle-password {
    position: absolute;
    right: 30px;
    top: 27%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

#sign_up_form .toggle-password {
    right: 50px;
    top: 50%;
}

#forgot_pass_form .toggle-password {
    right: 50px;
    top: 50%;
}

.toggle-password i {
    font-size: 20px;
    color: #666 !important;
    transition: color 0.3s ease;
}

.address-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    position: relative;
    height: 100%;
}

.address-card .address-title {
    font-size: 18px;
}

.address-card .address-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.address-card .address-item i {
    font-size: 15px;
    color: var(--text-color);
}

.address-card .address-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.address-card .form-check-input {
    position: absolute;
    top: 10px;
    right: 10px;
}
