/* 
 * Estilos específicos para a página de Registo de Revendedor
 * Landing Page Moderna - Conversão
 */

.reseller-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
    margin: -2rem -15px 0;
    position: relative;
    overflow: hidden;
}

.reseller-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.reseller-hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.reseller-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.reseller-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.reseller-hero__cta {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reseller-hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: #667eea;
    text-decoration: none;
}

.reseller-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 15px;
}

.reseller-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 992px) {
    .reseller-grid {
        grid-template-columns: 400px 1fr;
    }
}

.reseller-benefits {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 2rem;
}

.reseller-benefits h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2d3748;
}

.reseller-benefits__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reseller-benefits__item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.reseller-benefits__item:hover {
    transform: translateX(5px);
}

.reseller-benefits__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-right: 0.75rem;
    color: #667eea;
    font-size: 1.25rem;
}

.reseller-benefits__text {
    color: #4a5568;
    line-height: 1.5;
}

.reseller-form-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 2.5rem;
}

.reseller-form-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.reseller-form-card__subtitle {
    color: #718096;
    margin-bottom: 2rem;
}

.reseller-alert {
    background: #e0e7ff;
    border-left: 4px solid #667eea;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.reseller-alert__icon {
    color: #667eea;
    margin-right: 0.5rem;
}

.reseller-alert__text {
    color: #4c51bf;
    font-size: 0.95rem;
    margin: 0;
}

.reseller-form .form-label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.reseller-form .form-control,
.reseller-form .form-select {
    height: 48px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.reseller-form textarea.form-control {
    height: auto;
    min-height: 80px;
}

.reseller-form .form-control:focus,
.reseller-form .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.reseller-form .input-group {
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-radius: 8px;
}

.reseller-form .input-group .form-control {
    border-right: none;
}

.reseller-form .input-group .btn {
    border-left: none;
    height: 48px;
}

.reseller-submit-btn {
    height: 56px;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reseller-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.reseller-submit-btn:active {
    transform: translateY(0);
}

.reseller-footer-text {
    text-align: center;
    margin-top: 1.5rem;
    color: #718096;
}

.reseller-footer-text a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.reseller-footer-text a:hover {
    text-decoration: underline;
}

#nifStatus {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Responsivo */
@media (max-width: 768px) {
    .reseller-hero {
        padding: 2.5rem 0 2rem;
    }
    
    .reseller-hero h1 {
        font-size: 1.75rem;
    }
    
    .reseller-hero p {
        font-size: 1rem;
    }
    
    .reseller-container {
        padding: 2rem 15px;
    }
    
    .reseller-form-card {
        padding: 1.5rem;
    }
    
    .reseller-submit-btn {
        font-size: 1rem;
    }
}
