/* PMC Registration Form Styles - Using Common CSS */

/* PMC-specific styles only */

/* Registration Form Section */
.registration-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.registration-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 3rem;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.registration-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: linear-gradient(135deg, #228B70 0%, #1e7a5e 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.card-header-title {
    color: white !important;
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.card-header-subtitle {
    color: white !important;
    margin: 10px 0 0 0;
    opacity: 0.9;
    font-size: 16px;
}

.form-section {
    padding: 40px;
}

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

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    border-color: #228B70;
    box-shadow: 0 0 0 0.2rem rgba(34, 139, 112, 0.25);
    background: white;
}

.form-control.is-invalid {
    border-color: #dc3545;
    background: #fff5f5;
}

.form-control.is-valid {
    border-color: #28a745;
    background: #f8fff8;
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 3;
}

.form-control.with-icon {
    padding-left: 50px;
}

.password-strength {
    margin-top: 8px;
    font-size: 14px;
}

.strength-bar {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 5px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-weak { background: #dc3545; }
.strength-fair { background: #ffc107; }
.strength-good { background: #17a2b8; }
.strength-strong { background: #28a745; }

.security-features {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
}

.security-feature {
    display: flex;
    align-items: center;
    margin: 15px 0;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.security-feature i {
    color: #228B70;
    font-size: 24px;
    margin-right: 15px;
    width: 30px;
}

.security-feature h6 {
    margin: 0;
    color: #228B70;
    font-weight: 600;
}

.security-feature p {
    margin: 5px 0 0 0;
    color: #6c757d;
    font-size: 14px;
}

.btn-register {
    background: linear-gradient(135deg, #228B70 0%, #1e7a5e 100%);
    border: none;
    border-radius: 12px;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(34, 139, 112, 0.3);
    color: white;
}

.btn-register:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.loading-spinner {
    display: none;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.terms-checkbox input[type="checkbox"] {
    margin-right: 15px;
    margin-top: 3px;
    transform: scale(1.2);
}

.terms-checkbox label {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #495057;
}

.terms-checkbox a {
    color: #228B70;
    text-decoration: none;
    font-weight: 600;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

.progress-steps {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    padding: 0 20px;
}

.step {
    display: flex;
    align-items: center;
    margin: 0 10px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.step.active {
    opacity: 1;
}

.step.completed {
    opacity: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: 600;
    color: #6c757d;
}

.step.active .step-number {
    background: #228B70;
    color: white;
}

.step.completed .step-number {
    background: #28a745;
    color: white;
}

.step.completed .step-number::before {
    content: '✓';
}

.step-label {
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
}

.step.active .step-label {
    color: #228B70;
}

.step.completed .step-label {
    color: #28a745;
}

.alert-custom {
    border-radius: 12px;
    border: none;
    padding: 20px;
    margin: 20px 0;
}

.alert-success-custom {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger-custom {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-warning-custom {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert-info-custom {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .registration-card {
        margin: -30px 15px 30px 15px;
    }
    
    .form-section {
        padding: 30px 20px;
    }
    
    .card-header h2 {
        font-size: 24px;
    }
    
    .progress-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        margin: 10px 0;
    }
}

/* PMC-specific styles only - Password strength moved to common file */

/* Terms checkbox styling with logo color */
#terms_accepted {
    accent-color: #28a745 !important; /* Bullet logo green */
}

#terms_accepted:checked {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

/* Custom checkbox styling for better control */
.terms-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #28a745;
    cursor: pointer;
}

.terms-checkbox input[type="checkbox"]:checked {
    background-color: #28a745;
    border-color: #28a745;
}

.terms-checkbox label {
    cursor: pointer;
    margin-left: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
}
