/* ============================================
   EDURO MODERN REGISTER PAGE STYLES
   Completely scoped to avoid legacy CSS conflicts
   ============================================ */

/* Wrapper - Reset all legacy styles */
.register-modern-wrapper {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(180deg, #FFF8F5 0%, #FFFFFF 50%, #F8FAFC 100%);
    min-height: calc(100vh - 100px);
}

/* Breadcrumb */
.register-modern-breadcrumb {
    background: #FFFFFF;
    padding: 16px 0;
    border-bottom: 1px solid #E5E7EB;
}

.register-modern-breadcrumb .breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.register-modern-breadcrumb a {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.register-modern-breadcrumb a:hover {
    color: #DE6B3B;
}

.register-modern-breadcrumb .separator {
    color: #D1D5DB;
    font-size: 10px;
}

.register-modern-breadcrumb .current {
    color: #DE6B3B;
    font-weight: 600;
}

/* Main Content Area */
.register-modern-content {
    padding: 60px 0 80px;
}

/* Header */
.register-modern-header {
    text-align: center;
    margin-bottom: 50px;
}

.register-modern-header h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: #1F2937;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
}

.register-modern-header p {
    font-size: 18px;
    color: #6B7280;
    margin: 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Cards Grid */
.register-modern-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 50px;
}

/* Individual Card */
.register-card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.register-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(222, 107, 59, 0.15);
    border-color: #DE6B3B;
}

/* Card Icon/Image Area */
.register-card-icon {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
}

.register-card-employer .register-card-icon {
    background: linear-gradient(135deg, #FFF5F0 0%, #FFEDE5 100%);
}

.register-card-employee .register-card-icon {
    background: linear-gradient(135deg, #F0F7FF 0%, #E8F4FD 100%);
}

.register-card-icon img {
    max-width: 160px;
    max-height: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.register-card:hover .register-card-icon img {
    transform: scale(1.05);
}

/* Card Content */
.register-card-content {
    padding: 28px 30px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.register-card-content h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
    margin: 0 0 12px 0;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.register-card:hover .register-card-content h2 {
    color: #DE6B3B;
}

.register-card-content p {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex: 1;
}

/* CTA Button */
.register-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #DE6B3B 0%, #F2943C 100%);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 50px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.register-card-cta i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.register-card:hover .register-card-cta {
    box-shadow: 0 6px 20px rgba(222, 107, 59, 0.4);
}

.register-card:hover .register-card-cta i {
    transform: translateX(4px);
}

/* Footer */
.register-modern-footer {
    text-align: center;
    padding: 28px 30px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    max-width: 500px;
    margin: 0 auto;
}

.register-modern-footer p {
    font-size: 16px;
    color: #6B7280;
    margin: 0;
}

.register-modern-footer a {
    color: #DE6B3B;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.register-modern-footer a:hover {
    color: #C85A2E;
    text-decoration: underline;
}

/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

@media (max-width: 991px) {
    .register-modern-header h1 {
        font-size: 34px;
    }
    
    .register-modern-header p {
        font-size: 17px;
    }
    
    .register-modern-cards {
        gap: 24px;
    }
    
    .register-card-icon {
        height: 180px;
        padding: 24px;
    }
    
    .register-card-icon img {
        max-width: 140px;
        max-height: 140px;
    }
    
    .register-card-content {
        padding: 24px;
    }
    
    .register-card-content h2 {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .register-modern-content {
        padding: 40px 0 60px;
    }
    
    .register-modern-header {
        margin-bottom: 36px;
    }
    
    .register-modern-header h1 {
        font-size: 28px;
    }
    
    .register-modern-header p {
        font-size: 16px;
    }
    
    .register-modern-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 440px;
    }
    
    .register-card-icon {
        height: 160px;
        padding: 20px;
    }
    
    .register-card-icon img {
        max-width: 120px;
        max-height: 120px;
    }
    
    .register-card-content {
        padding: 22px 24px 26px;
    }
    
    .register-card-content h2 {
        font-size: 17px;
    }
    
    .register-card-content p {
        font-size: 14px;
        margin-bottom: 18px;
    }
    
    .register-card-cta {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
    
    .register-modern-footer {
        padding: 22px 24px;
    }
    
    .register-modern-footer p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .register-modern-breadcrumb {
        padding: 14px 0;
    }
    
    .register-modern-content {
        padding: 30px 0 50px;
    }
    
    .register-modern-header h1 {
        font-size: 24px;
    }
    
    .register-modern-header p {
        font-size: 15px;
    }
    
    .register-modern-cards {
        gap: 16px;
    }
    
    .register-card {
        border-radius: 16px;
    }
    
    .register-card-icon {
        height: 140px;
    }
    
    .register-card-icon img {
        max-width: 100px;
        max-height: 100px;
    }
    
    .register-card-content {
        padding: 20px;
    }
    
    .register-card-content h2 {
        font-size: 16px;
    }
    
    .register-card:hover {
        transform: translateY(-3px);
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

.register-modern-header {
    animation: fadeInUp 0.5s ease-out;
}

.register-card {
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
}

.register-card:nth-child(1) {
    animation-delay: 0.1s;
}

.register-card:nth-child(2) {
    animation-delay: 0.2s;
}

.register-modern-footer {
    animation: fadeInUp 0.5s ease-out 0.3s;
    animation-fill-mode: both;
}
