/* form.css - Form-specific styles */

.form-group {
    position: relative;
    margin-bottom: 8px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
}

.validation-message {
    color: var(--danger-color);
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

/* Disabled field styles */
.disabled-field {
    background-color: #f5f5f5;
    color: #666;
    cursor: not-allowed;
    border-color: #ddd;
}

/* Password Strength */
.password-strength {
    margin-top: 5px;
}

.strength-meter {
    height: 5px;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-bottom: 5px;
}

.strength-meter-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.3s ease;
}

.strength-0 {
    width: 0%;
    background-color: transparent;
}

.strength-1 {
    width: 20%;
    background-color: #f44336;
}

.strength-2 {
    width: 40%;
    background-color: #ff9800;
}

.strength-3 {
    width: 60%;
    background-color: #ffeb3b;
}

.strength-4 {
    width: 80%;
    background-color: #2196f3;
}

.strength-5,
.strength-6 {
    width: 100%;
    background-color: #4caf50;
}

.strength-text {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

/* Password Rules Checklist */
.password-rules {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    font-size: 13px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.password-rules h4 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 13px;
    color: #333;
}

.password-rules ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.password-rules li {
    display: flex;
    align-items: center;
    margin-bottom: 3px;
    font-size: 13px;
    color: #666;
    transition: color 0.3s ease;
}

.password-rules li.passed {
    color: #4caf50;
}

.rule-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    font-size: 14px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.passed .rule-icon {
    color: #4caf50;
    font-weight: bold;
}

/* Region selection */
.region-selection {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}
