/* QRProfileLink Modern Forms Styling */

.qrpl-form-container {
    max-width: 500px;
    margin: 60px auto;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.qrpl-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.qrpl-form-header h1 {
    font-size: 1.8rem;
    color: var(--primary-color, #4361ee);
    margin-bottom: 10px;
}

.qrpl-form-header p {
    color: #666;
}

.qrpl-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.qrpl-form-group {
    position: relative;
}

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

.qrpl-form-input {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #e1e5f0;
    border-radius: 8px;
    background-color: #f8f9fc;
    transition: all 0.3s ease;
}

.qrpl-form-input:focus {
    border-color: var(--primary-color, #4361ee);
    background-color: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
}

.qrpl-form-submit {
    background-color: var(--primary-color, #4361ee);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.qrpl-form-submit:hover {
    background-color: var(--primary-hover, #3a56d4);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(67, 97, 238, 0.25);
}

.qrpl-form-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e1e5f0;
    color: #666;
}

.qrpl-form-footer a {
    color: var(--primary-color, #4361ee);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.qrpl-form-footer a:hover {
    color: var(--primary-hover, #3a56d4);
    text-decoration: underline;
}

.qrpl-form-error {
    background-color: #fee2e2;
    border-left: 4px solid #ef4444;
    padding: 12px;
    margin-bottom: 20px;
    color: #b91c1c;
    border-radius: 4px;
}

.qrpl-form-success {
    background-color: #d1fae5;
    border-left: 4px solid #10b981;
    padding: 12px;
    margin-bottom: 20px;
    color: #047857;
    border-radius: 4px;
}

/* Password strength indicator */
.qrpl-password-strength {
    margin-top: 5px;
    height: 5px;
    border-radius: 3px;
    background-color: #e1e5f0;
    overflow: hidden;
}

.qrpl-password-strength-bar {
    height: 100%;
    width: 0;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.qrpl-password-weak {
    background-color: #ef4444;
    width: 25%;
}

.qrpl-password-medium {
    background-color: #f59e0b;
    width: 50%;
}

.qrpl-password-strong {
    background-color: #10b981;
    width: 100%;
}

/* Responsive adjustments */
@media screen and (max-width: 600px) {
    .qrpl-form-container {
        padding: 20px;
        margin: 40px 15px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }
}