.first-time-password-form {
    max-width: 500px;
    margin: 50px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.first-time-password-form h2 {
    margin: 0 0 25px 0;
    color: #03045e;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
}

.first-time-password-form p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.5;
}

.first-time-password-form .form-row {
    margin-bottom: 24px;
}

.first-time-password-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 15px;
}

.first-time-password-form input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.first-time-password-form input[type="password"]:focus {
    border-color: #03045e;
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(3, 4, 94, 0.1);
}

.first-time-password-form button {
    width: 100%;
    padding: 14px;
    background: #03045e;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.first-time-password-form button:hover {
    background: #020339;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(3, 4, 94, 0.2);
}

.first-time-password-form button:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .first-time-password-form {
        margin: 20px auto;
        padding: 30px 20px;
        border-radius: 8px;
    }

    .first-time-password-form h2 {
        font-size: 24px;
    }
}

/* Optional: Add password strength indicator styles */
.password-strength-meter {
    margin-top: 8px;
}

.password-strength-indicator {
    height: 4px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.password-strength-indicator.strength-0 {
    background: #dc3545;
    width: 20%;
}

.password-strength-indicator.strength-1 {
    background: #ffc107;
    width: 40%;
}

.password-strength-indicator.strength-2 {
    background: #ffc107;
    width: 60%;
}

.password-strength-indicator.strength-3 {
    background: #28a745;
    width: 80%;
}

.password-strength-indicator.strength-4 {
    background: #28a745;
    width: 100%;
}

.password-strength-text {
    display: block;
    font-size: 14px;
    margin-top: 5px;
    color: #666;
}

.password-requirements {
    display: block;
    font-size: 13px;
    color: #666;
    margin-top: 8px;
    line-height: 1.4;
}

.password-match-message {
    font-size: 14px;
    margin-top: 5px;
}

.match-success {
    color: #28a745;
}

.match-error {
    color: #dc3545;
}

button[type="submit"]:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.form-row {
    position: relative;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}

.requirements-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.requirements-list li:last-child {
    margin-bottom: 0;
}

.requirement-icon {
    display: inline-block;
    width: 20px;
    margin-right: 8px;
    text-align: center;
    transition: color 0.3s ease;
}

.requirements-list li.met {
    color: #28a745;
}

.password-requirements h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #666;
}
