/* Password input styles */
.password-toggle-container {
    position: relative;
    width: 100%;
}

.password-toggle-container .form-control {
    padding-right: 45px; /* Space for the toggle button */
    width: 100%;
    box-sizing: border-box;
}

.password-toggle-btn {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
}

.password-toggle-btn:focus {
    outline: none;
}

.password-toggle-btn:hover {
    color: var(--primary-color);
}

/* Password strength indicator */
.password-strength-meter {
    height: 8px;
    background-color: #f2f2f2;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
    margin-bottom: 4px;
}

.strength-meter-fill {
    height: 100%;
    transition: width 0.5s ease;
}

.strength-very-weak { background-color: #ff4a4a; color: #ff4a4a; }
.strength-weak { background-color: #ffa500; color: #ffa500; }
.strength-medium { background-color: #ffce00; color: #ffce00; }
.strength-strong { background-color: #9bc158; color: #9bc158; }
.strength-very-strong { background-color: #00b500; color: #00b500; }

.password-strength-text {
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.requirements-list {
    list-style: none;
    padding-left: 0;
    font-size: 0.85rem;
    color: #666;
    margin-top: 10px;
}

.requirements-list li {
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
}

.requirements-list li i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.requirement-met {
    color: #28a745;
}

.bi-check-circle-fill {
    color: #28a745;
}

.bi-x-circle {
    color: #dc3545;
}