/* Custom form styling */

.custom-input {
    font-family: 'Merriweather', serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--neutral5);
    border: 1px solid var(--light3);
    border-radius: 8px;
    padding: 12px 16px;
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.custom-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    outline: none;
}
.custom-input::placeholder {
    color: var(--neutral1);
}
.custom-input.is-invalid {
    border-color: var(--danger);
}
.custom-input.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(242, 74, 63, 0.15);
}

.form-label-custom {
    font-family: 'Merriweather', serif;
    font-weight: 400;
    font-size: 12px;
    color: var(--neutral4);
    margin-bottom: 6px;
}

.form-check-custom .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Divider: "or continue with" */
.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}
.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--light3);
}
.divider span {
    font-family: 'Merriweather', serif;
    font-weight: 400;
    font-size: 12px;
    color: var(--neutral1);
    white-space: nowrap;
}

/* Password strength bar */
.password-strength {
    height: 4px;
    border-radius: 2px;
    background: var(--light3);
    margin-top: 8px;
    overflow: hidden;
}
.password-strength-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease, background-color 0.3s ease;
}
.strength-weak { background-color: var(--danger); width: 25%; }
.strength-fair { background-color: #FFA726; width: 50%; }
.strength-good { background-color: #66BB6A; width: 75%; }
.strength-strong { background-color: #43A047; width: 100%; }

/* Password requirement list */
.requirement-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}
.requirement-list li {
    font-family: 'Merriweather', serif;
    font-size: 12px;
    color: var(--neutral3);
    padding: 2px 0;
}
.requirement-list li.met {
    color: #43A047;
}
.requirement-list li::before {
    content: '\2022';
    margin-right: 8px;
}
.requirement-list li.met::before {
    content: '\2713';
    color: #43A047;
}

/* Tenant initials avatar */
.tenant-avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--white);
    flex-shrink: 0;
}

/* User avatar */
.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--white);
    background-color: var(--primary);
    flex-shrink: 0;
}
