/**
 * Simple Registration Form CSS
 */

.hcus-simple-register-wrapper {
    max-width: 500px;
    margin: 40px auto;
}

.hcus-register-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 40px;
}

.hcus-register-container h2 {
    text-align: center;
    margin: 0 0 10px 0;
    color: #02838D;
    font-size: 28px;
}

.hcus-register-subtitle {
    text-align: center;
    color: #666;
    margin: 0 0 30px 0;
}

/* Messages */
.hcus-messages {
    margin-bottom: 20px;
}

.hcus-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.hcus-message-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #4caf50;
}

.hcus-message-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #f44336;
}

/* Form */
.hcus-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.hcus-form-group {
    margin-bottom: 20px;
}

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

.hcus-form-group input[type="text"],
.hcus-form-group input[type="email"],
.hcus-form-group input[type="tel"],
.hcus-form-group input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.hcus-form-group input:focus {
    outline: none;
    border-color: #02838D;
}

.hcus-form-group small {
    display: block;
    margin-top: 4px;
    color: #666;
    font-size: 13px;
}

/* Password field */
.hcus-password-wrapper {
    position: relative;
}

.hcus-password-wrapper input {
    padding-left: 45px !important;
}

.hcus-toggle-password {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
    padding: 8px;
    color: #292D32 !important;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.hcus-toggle-password:hover,
.hcus-toggle-password:focus {
    opacity: 0.7;
    outline: none !important;
    box-shadow: none !important;
}

.hcus-password-requirements {
    margin-top: 6px;
}

.hcus-password-requirements small {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 13px;
}

.hcus-password-requirements i {
    color: #02838D;
}

.hcus-password-strength {
    margin-top: 10px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.hcus-password-strength-bar {
    height: 8px !important;
    background: #e0e0e0 !important;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
    display: block !important;
    position: relative;
}

.hcus-password-strength-fill {
    height: 8px !important;
    transition: width 0.3s ease, background-color 0.3s ease;
    width: 0;
    display: block !important;
    position: absolute;
    top: 0;
    right: 0;
}

.hcus-password-strength-text {
    font-size: 13px;
    font-weight: 600;
    text-align: right;
    display: block !important;
}

/* Terms */
.hcus-terms-group {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
}

.hcus-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.hcus-checkbox-label input[type="checkbox"] {
    margin-left: 8px;
    margin-top: 3px;
    cursor: pointer;
}

.hcus-checkbox-label a {
    color: #02838D;
    text-decoration: underline;
}

/* Submit button */
.hcus-submit-btn {
    width: 100%;
    padding: 14px;
    background: #02838D;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.hcus-submit-btn:hover {
    background: #026b75;
}

.hcus-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Footer */
.hcus-register-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.hcus-register-footer a {
    color: #02838D;
    text-decoration: none;
    font-weight: 500;
}

.hcus-register-footer a:hover {
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
    .hcus-register-container {
        padding: 30px 20px;
    }
    
    .hcus-form-row {
        grid-template-columns: 1fr;
    }
}