.form-control {
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-size: 16px;
    padding: 20px 12px;
    background: white;
    width: 100%;
    min-height: 56px;
}

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

.form-group label {
    position: absolute;
    top: 18px;
    left: 12px;
    background: white;
    padding: 0 4px;
    color: #80868b;
    font-size: 16px;
    transition: all .2s ease;
    pointer-events: none;
}

.form-control:focus ~ label,
.form-control:not(:placeholder-shown) ~ label {
    top: -8px;
    left: 8px;
    font-size: 12px;
    color: #1a73e8;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    font-size: 18px;
}

.toggle-password-icon {
 position: absolute;
    right: 12px;
    transform: translateY(-150%);
    cursor: pointer;
    color: #888;
    font-size: 18px;
}


/* Password strength indicator styles */
.password-strength-meter {
    height: 5px;
    width: 100%;
    background: #DDD;
    margin-top: 8px;
    border-radius: 3px;
}

.password-strength-meter-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-weak {
    background-color: #ff4d4d;
    width: 25%;
}

.strength-medium {
    background-color: #ffa64d;
    width: 50%;
}

.strength-strong {
    background-color: #2ecc71;
    width: 75%;
}

.strength-hard {
    background-color: #27ae60;
    width: 100%;
}

.password-rules {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}

.password-rule {
    display: flex;
    align-items: center;
    margin-bottom: 3px;
}

.rule-icon {
    margin-right: 5px;
    font-size: 12px;
}

.rule-valid {
    color: #4CAF50;
}

.rule-invalid {
    color: #999;
}

.password-strength-text {
    font-size: 12px;
    margin-top: 5px;
    text-align: right;
}

.error-message {
    color: #d93025;
    font-weight: bold;
    font-size: 13px;
    margin-top: 5px;
    display: none;
} 