/*last modification  february 18th/2024*/

/*************************************************************/

/* Professional Registration Page Styles */

#dvFullPage {
    padding: 0px;
    margin: 0px;
    width: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    flex-direction: column;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

/* Hero Section */
.hero-section {
    width: 100%;
    background: linear-gradient(135deg, var(--pColor) 0%, var(--sColor) 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-benefits {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    background: rgba(255,255,255,0.1);
    padding: 15px 25px;
    border-radius: 50px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.benefit-item i {
    font-size: 1.3rem;
    color: #ffd700;
}

/* Trust Section */
.trust-section {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.trust-item i {
    font-size: 2.5rem;
    color: var(--pColor);
    margin-bottom: 10px;
}

.trust-item span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
}

/* Registration Container */
.registration-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 60px;
}

.form-header {
    background: linear-gradient(135deg, var(--pColor), var(--sColor));
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.form-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Professional Form */
.professional-form {
    padding: 40px 30px;
    background: white;
}

.form-row {
    margin-bottom: 25px;
}

.input-group {
    position: relative;
}

.input-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.input-label i {
    color: var(--pColor);
    font-size: 1.1rem;
}

.modern-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    box-sizing: border-box;
}

.modern-input:focus {
    outline: none;
    border-color: var(--pColor);
    background: white;
    box-shadow: 0 0 0 3px rgba(30, 52, 93, 0.1);
}

.modern-input::placeholder {
    color: var(--gray-500);
}

/* Register Button */
.form-actions {
    margin-top: 30px;
    text-align: center;
}

.register-btn {
    background: linear-gradient(135deg, var(--pColor), var(--sColor));
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(30, 52, 93, 0.3);
    min-width: 280px;
    justify-content: center;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(30, 52, 93, 0.4);
}

.register-btn:active {
    transform: translateY(0);
}

.register-btn i {
    font-size: 1.3rem;
}

/* Form Footer */
.form-footer {
    margin-top: 25px;
    text-align: center;
}

.privacy-text {
    color: var(--gray-600);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
}

.privacy-text i {
    color: var(--success);
}

/* Benefits Section */
.benefits-section {
    padding: 60px 20px;
    background: white;
    margin: 40px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pColor);
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--pColor), var(--sColor));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--pColor);
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--pColor), var(--sColor));
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin: 40px 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Status Text */
#dvStatusText {
    width: 100%;
    display: flex;
    flex-direction: column;
    max-width: 800px;
    text-align: center;
    margin: 20px auto;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

#dvStatusText h2 {
    color: var(--pColor);
    font-size: 2rem;
    margin-bottom: 15px;
}

#dvStatusText p {
    color: var(--gray-700);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Background for main body */
.clFullBody {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* WhatsApp Button Improved */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-button i {
    font-size: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-benefits {
        gap: 20px;
    }
    
    .benefit-item {
        font-size: 1rem;
        padding: 12px 20px;
    }
    
    .trust-section {
        gap: 30px;
    }
    
    .form-title {
        font-size: 1.8rem;
    }
    
    .professional-form {
        padding: 30px 20px;
    }
    
    .register-btn {
        min-width: 100%;
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 40px 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-benefits {
        flex-direction: column;
        align-items: center;
    }
    
    .trust-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .registration-container {
        margin: 0 10px 40px;
    }
    
    .benefits-section {
        padding: 40px 15px;
    }
    
    .cta-section {
        padding: 40px 15px;
    }
}

/* Legacy Styles - Keep for compatibility */
.stMain { width: 100%; max-width: 1600px; }
.clRow { width: 100%; display: flex; flex-direction: row; justify-content: center; }
.clRowForm { display: flex; flex-direction: row; justify-content: space-around; }
.clLink { cursor: pointer; text-decoration: underline; }

/* Legacy form styles for backward compatibility */
#dvRegist > .clRowForm { padding: 7px; }
.clEnrolingRow { min-height: 60px; display: flex; align-items: center; padding-right: 35px; font-size: 1.5em; color: #fff; }
#dvEnrolingBox { width: 100%; aspect-ratio: 1 / 0.6666; background: url("https://ibssoluciones.com/public/webimages/enroling.jpg"); }
.clRowForm>label { flex-basis: 100px; line-height: 30px; text-align: right; padding-right: 10px; font-size: 1.2em; flex-grow: 1; max-width: 180px; }
.clRowForm>input { flex-basis: 200px; line-height: 40px; flex-grow: 1; flex-shrink: 1; max-width: 300px; }
.clRowForm>select { flex-basis: 200px; line-height: 40px; flex-grow: 1; flex-shrink: 1; max-width: 300px; height: 35px; }
#btRegist { flex-basis: 150px; line-height: 35px; max-width: 200px; flex-grow: 1; flex-shrink: 1; background: var(--btButton); text-align: center; color: #fff; cursor: pointer; border-radius: 7px; margin: 10px; }
.clsButton { flex-basis: 150px; line-height: 35px; max-width: 200px; flex-grow: 1; flex-shrink: 1; background: var(--btButton); text-align: center; color: #fff; cursor: pointer; border-radius: 7px; margin: 10px; }

/* Legacy info section styles */
#dvMoreInfo {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#dvMoreInfo h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

#dvMoreInfo ul {
    list-style-type: disc;
    padding-left: 20px;
}

#dvMoreInfo li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #555;
}

#dvMoreInfo a {
    color: #007bff;
    text-decoration: none;
}

#dvMoreInfo a:hover {
    text-decoration: underline;
}

#dvMoreInfo strong {
    color: #000;
}