* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0052A3 0%, #003D7A 50%, #001f4d 100%);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(135deg, rgba(0, 17, 255, 0.788)0%, rgba(216, 216, 216, 0.623) 50%, rgba(255, 0, 0, 0.568) 100%),
        url('../images/wallpaper.png'),
        radial-gradient(circle at 20% 50%, rgba(220, 20, 60, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 82, 163, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(220, 20, 60, 0.05) 0%, transparent 50%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
    padding: 40px;
    animation: slideUp 0.5s ease-out;
}

/* PROGRESS STEPS */
.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #CCCCCC;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F5F5F5;
    border: 2px solid #CCCCCC;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #0052A3;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    z-index: 2;
}

.step.active .step-number {
    background: #DC143C;
    color: white;
    border-color: #DC143C;
}

.step.completed .step-number {
    background: #0052A3;
    color: white;
    border-color: #0052A3;
}

.step-label {
    font-size: 11px;
    font-weight: 600;
    color: #0052A3;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-line {
    position: absolute;
    top: 18px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #CCCCCC;
    z-index: 1;
}

.step:last-child .step-line {
    display: none;
}

.step.completed .step-line {
    background: #0052A3;
}

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

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    color: #0052A3;
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 600;
}

.header p {
    color: #0052A3;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #DC143C, #C41E3A);
    margin: 15px auto 0;
    border-radius: 2px;
}

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

label {
    display: block;
    color: #0052A3;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea {
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #CCCCCC;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #F5F5F5;
    color: #0052A3;
    display: block;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus {
    outline: none;
    border-color: #DC143C;
    background: white;
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

/* Ajuste específico para data no iOS/Safari */
input[type="date"] {
    position: relative;
    min-height: 41px;
    -webkit-appearance: none;
    appearance: none;
    min-width: 0;
    width: 100% !important;
}

/* Remover ícone interno do Safari que pode empurrar o layout */
input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #CCCCCC;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #F5F5F5;
    color: #0052A3;
    cursor: pointer;
    transition: all 0.3s ease;
}

select:focus {
    outline: none;
    border-color: #DC143C;
    background: white;
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #DC143C;
}

.checkbox-label {
    font-size: 13px;
    color: #0052A3;
    line-height: 1.4;
}

.checkbox-label a {
    color: #DC143C;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.checkbox-label a:hover {
    opacity: 0.7;
}

.button-group {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

button {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-submit {
    background: linear-gradient(135deg, #DC143C, #C41E3A);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
}

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

.btn-reset {
    background: #F0F0F0;
    color: #0052A3;
    border: 1.5px solid #CCCCCC;
}

.btn-reset:hover {
    background: #E0E0E0;
}

.error-message {
    color: #DC143C;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #DC143C;
    background: #FFE5E5;
}

.form-group.error .error-message {
    display: block;
}

.success-message {
    background: #E8F4F8;
    color: #0052A3;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
    text-align: center;
    font-size: 14px;
}

.success-message.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* PLANOS DE PAGAMENTO */
.payment-container {
    width: 100%;
} 

.plans-section {
    margin-bottom: 30px;
}

.plans-section h3 {
    color: #0052A3;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.membership-plans-horizontal {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border: 2px solid #CCCCCC;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

.plan-item:hover {
    border-color: #DC143C;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.15);
}

.plan-item.selected {
    border-color: #DC143C;
    background: linear-gradient(135deg, #FFE5E5, #FFF0F0);
}

.plan-item.featured {
    position: relative;
}

.plan-item.featured::before {
    content: '⭐ POPULAR';
    position: absolute;
    top: -12px;
    right: 12px;
    background: linear-gradient(135deg, #DC143C, #C41E3A);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
}

.plan-name {
    color: #0052A3;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.plan-price-large {
    color: #DC143C;
    font-size: 20px;
    font-weight: 700;
    display: block;
}

/* BENEFICIOS DO PLANO */
.plan-benefits-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid #e9ecef;
    animation: fadeIn 0.4s ease-out;
}

.plan-benefits-box h3 {
    color: #0052A3;
    font-size: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-benefits-box h3::before {
    content: '💎';
}

.plan-benefits-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.plan-benefits-box li {
    font-size: 13px;
    color: #444;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.plan-benefits-box li::before {
    content: '✓';
    color: #27ae60;
    font-weight: bold;
}

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

.plan-duration-small {
    color: #0052A3;
    font-size: 12px;
}

/* SEÇÃO DE PAGAMENTO */
.payment-section {
    border-top: 2px solid #CCCCCC;
    padding-top: 20px;
    margin-top: 20px;
}

.payment-section h3 {
    color: #0052A3;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.plan-summary {
    background: #F5F5F5;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid #DC143C;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #0052A3;
    font-size: 14px;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-item span {
    font-weight: 500;
}

.summary-item strong {
    color: #DC143C;
    font-size: 16px;
}

/* OPÇÕES DE PAGAMENTO */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.payment-method {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding: 14px;
    border: 2px solid #CCCCCC;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.payment-method input[type="radio"] {
    accent-color: #DC143C;
    margin: 0;
    flex-shrink: 0;
}

.payment-method:hover {
    border-color: #0052A3;
    background: #F5F5F5;
}

.payment-method.selected {
    border-color: #DC143C;
    background: linear-gradient(135deg, #FFE5E5, #FFF0F0);
}

.method-icon {
    font-size: 24px;
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.method-name {
    color: #0052A3;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.method-desc {
    color: #0052A3;
    font-size: 12px;
    opacity: 0.7;
}

/* FORMULÁRIOS DE PAGAMENTO */
.payment-form {
    background: #F5F5F5;
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #CCCCCC;
}

.payment-form h4 {
    color: #0052A3;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* INFO PIX E BOLETO */
.pix-info,
.boleto-info {
    background: #F5F5F5;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid #DC143C;
}

.info-item {
    margin-bottom: 12px;
}

.info-item label {
    font-size: 12px;
    margin-bottom: 4px;
}

.highlighted {
    background: white;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #CCCCCC;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #0052A3;
    font-weight: 500;
    word-break: break-all;
    margin-top: 4px;
}

.pix-instruction,
.boleto-instruction {
    color: #0052A3;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 12px;
    padding: 10px 12px;
    background: white;
    border-radius: 6px;
}

/* UPLOAD DE FOTO */
.photo-upload-section {
    margin-bottom: 30px;
}

.photo-input-wrapper {
    margin-bottom: 20px;
}

.photo-preview {
    width: 100%;
    height: 300px;
    border: 2px dashed #CCCCCC;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #F5F5F5;
    margin-bottom: 15px;
    overflow: hidden;
}

.photo-preview:hover {
    border-color: #DC143C;
    background: #FFE5E5;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-placeholder {
    text-align: center;
    color: #999999;
    font-size: 16px;
    font-weight: 500;
}

.photo-info {
    color: #999999;
    font-size: 12px;
    text-align: center;
}

/* CARTEIRINHA DE SÓCIO */
.card-preview-section {
    margin-bottom: 30px;
}

.card-preview-section h3 {
    color: #0052A3;
    margin-bottom: 20px;
    text-align: center;
    font-size: 16px;
}

.membership-card {
    position: relative;
    background-image: url('../images/wallpapercarteirinha.png');
    background-size: cover;
    background-position: center;
    background-attachment: local;
    border: 3px solid #0052A3;
    border-radius: 16px;
    padding: 30px 20px;
    color: #0052A3;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    overflow: hidden;
}

.membership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.849); 
    border-radius: 16px;
    pointer-events: none;
    z-index: 1;
}

.membership-card > * {
    position: relative;
    z-index: 2;
}

.card-logo-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #DC143C;
}

.card-logo {
    width: 100%;
    height: 80px;
    margin-bottom: 10px;
}

.card-subtitle {
    font-size: 12px;
    color: #0052A3;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
}

/* SEÇÃO DE FOTO */
.card-photo-section {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.card-photo-frame {
    position: relative;
    width: 120px;
    height: 150px;
    border: 3px solid #0052A3;
    border-radius: 10px;
    overflow: hidden;
    background: #F5F5F5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-photo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F0F0F0;
    font-size: 24px;
    color: #CCCCCC;
    text-align: center;
}

/* SEÇÃO DE INFORMAÇÕES */
.card-info-section {
    margin-bottom: 25px;
    text-align: center;
}

.info-item {
    margin-bottom: 15px;
}

.info-item label {
    display: block;
    font-size: 11px;
    color: #0052A3;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: #DC143C;
    margin: 0;
}

/* FOOTER */
.footer {
    width: 100%;
    padding: 20px 0;
    margin-top: 30px;
    z-index: 1;
    position: relative;
    text-align: center;
}

.footer-content {
    max-width: 500px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
}

.footer-content p {
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.footer-motto {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 5px !important;
    letter-spacing: 1px;
    opacity: 0.95;
    color: #0052A3;
}

.footer-motto strong {
    font-weight: 800;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.4);
    border-color: transparent;
    color: white !important;
}

.social-link svg {
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1) rotate(-5deg);
}

@media (max-width: 480px) {
    .footer {
        margin-top: 20px;
        padding-bottom: 40px;
    }
    
    .social-link {
        padding: 10px 20px;
        font-size: 12px;
    }
}

.dev-link {
    color: inherit;
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dev-link:hover {
    opacity: 1;
    color: #4facfe; /* A subtle techy blue */
}

/* SEÇÃO DO QR CODE */
.card-qrcode-section {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    padding: 15px;
    background: #F5F5F5;
    border-radius: 12px;
    border: 2px dashed #0052A3;
}

.qr-code-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-code-container canvas {
    border: 8px solid white;
    border-radius: 4px;
}

/* SEÇÃO DE STATUS */
.card-status-section {
    padding-top: 15px;
    border-top: 2px solid #DC143C;
    font-size: 12px;
    font-weight: 600;
    color: #0052A3;
    letter-spacing: 0.5px;
}

/* VALIDAÇÃO DE CARTEIRINHA */
.validation-card {
    background: #F5F5F5;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.member-info {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 2px solid #CCCCCC;
}

.validity-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 2px solid #CCCCCC;
}

.validity-section h3 {
    color: #0052A3;
    font-size: 14px;
    margin-bottom: 15px;
}

.validity-status {
    margin-bottom: 20px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.status-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

.status-badge.active {
    background: linear-gradient(135deg, #E8F8F4, #D4F1EB);
    color: #0052A3;
}

.status-badge.active .status-dot,
.status-badge.active .status-icon {
    color: #27ae60;
}

.status-badge.warning {
    background: linear-gradient(135deg, #FFF9E6, #FFE5B4);
    color: #D9860B;
}

.status-badge.warning .status-dot,
.status-badge.warning .status-icon {
    color: #f39c12;
}

.status-badge.expired {
    background: linear-gradient(135deg, #FFE8EB, #FFD9DC);
    color: #9E1B32;
}

.status-badge.expired .status-dot,
.status-badge.expired .status-icon {
    color: #e74c3c;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* LOADING */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    gap: 20px;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #E0E0E0;
    border-top: 5px solid #0052A3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-container h2 {
    color: #0052A3;
    font-size: 18px;
    margin: 0;
}

.loading-container p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.api-validation-info {
    margin-top: 15px;
    padding: 12px;
    background: #F5F5F5;
    border-radius: 8px;
    border-left: 4px solid #0052A3;
    text-align: center;
}

.api-validation-info p {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
}

.validity-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.detail-item {
    background: white;
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid #DC143C;
}

.detail-item .label {
    color: #999999;
    font-size: 12px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.detail-item .value {
    color: #0052A3;
    font-size: 16px;
    font-weight: 600;
    display: block;
}

.detail-item .value.days-remaining {
    color: #DC143C;
}

.benefits-section h3 {
    color: #0052A3;
    font-size: 14px;
    margin-bottom: 15px;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    color: #0052A3;
    padding: 8px 0;
    font-size: 14px;
}

/* ALERTA DE ERRO */
.error-alert {
    background: #FFD9DC;
    border: 2px solid #DC143C;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
}

.error-alert h3 {
    color: #C41E3A;
    font-size: 18px;
    margin-bottom: 10px;
}

.error-alert p {
    color: #C41E3A;
    font-size: 14px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .container {
        padding: 30px 20px;
    }

    .progress-steps {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .step-label {
        font-size: 9px;
        letter-spacing: 0;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .header h1 {
        font-size: 24px;
    }

    .form-row {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .button-group {
        flex-direction: column;
    }

    .membership-plans {
        grid-template-columns: 1fr;
    }

    .plan-card.featured {
        transform: scale(1);
    }

    .membership-card {
        padding: 20px 12px;
    }

    .card-logo {
        height: 60px;
    }

    .card-subtitle {
        font-size: 11px;
    }

    .card-photo-frame {
        width: 100px;
        height: 130px;
    }

    .info-value {
        font-size: 12px;
    }

    .validity-details {
        grid-template-columns: 1fr;
    }

    .photo-preview {
        height: 250px;
    }
}

/* PÁGINA DE VALIDAÇÃO INDEPENDENTE */
.validation-container {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
    padding: 40px;
    animation: slideUp 0.5s ease-out;
}

.validation-container .progress-steps {
    display: none;
}

.validation-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.member-info-section {
    background: #F5F5F5;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #0052A3;
}

.member-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.member-info-label {
    color: #999999;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
}

.member-info-value {
    color: #0052A3;
    font-size: 15px;
    font-weight: 600;
}

.validation-button-group {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.validation-button-group button {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-back {
    background: #F0F0F0;
    color: #0052A3;
    border: 1.5px solid #CCCCCC;
}

.btn-back:hover {
    background: #E0E0E0;
}

.btn-print {
    background: linear-gradient(135deg, #0052A3, #003D7A);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 82, 163, 0.3);
}

.btn-print:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 82, 163, 0.4);
}

/* PÁGINA DE VERIFICAÇÃO DE FILIAÇÃO */
.member-status-card {
    background: #F5F5F5;
    border: 2px solid #CCCCCC;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.member-header h2 {
    color: #0052A3;
    margin-bottom: 20px;
}

.member-info-detailed {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #CCCCCC;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: #999999;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
}

.info-value {
    color: #0052A3;
    font-size: 14px;
    font-weight: 600;
}

.validity-status-section {
    margin-bottom: 20px;
}

.validity-status-section h3 {
    color: #0052A3;
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 600;
}

.validity-info-detailed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.validity-info-detailed .info-item {
    background: white;
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid #DC143C;
}

.member-actions {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #DC143C;
    margin-bottom: 20px;
}

.member-actions h3 {
    color: #0052A3;
    margin-bottom: 8px;
    font-size: 15px;
}

.member-actions p {
    color: #666666;
    font-size: 13px;
    margin-bottom: 15px;
}

/* PÁGINA DE RENOVAÇÃO */
.member-renewal-info {
    background: #F5F5F5;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid #0052A3;
}

.member-renewal-info h3 {
    color: #0052A3;
    margin-bottom: 15px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
}

.member-renewal-info .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #CCCCCC;
}

.member-renewal-info .info-row:last-child {
    border-bottom: none;
}

.renewal-plans {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.renewal-plan-item {
    cursor: pointer;
}

.renewal-plan-item input[type="radio"] {
    display: none;
}

.plan-box {
    padding: 18px;
    border: 2px solid #CCCCCC;
    border-radius: 10px;
    background: white;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.plan-box.featured-box {
    border-color: #DC143C;
    background: linear-gradient(135deg, #FFE5E5, #FFF0F0);
}

.renewal-plan-item input[type="radio"]:checked + .plan-box {
    border-color: #DC143C;
    background: linear-gradient(135deg, #FFE5E5, #FFF0F0);
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.2);
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 12px;
    background: linear-gradient(135deg, #DC143C, #C41E3A);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
}

.plan-title {
    color: #0052A3;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.plan-duration {
    color: #999999;
    font-size: 12px;
    margin-bottom: 8px;
}

.plan-price {
    color: #DC143C;
    font-weight: 700;
    font-size: 18px;
}

.renewal-summary {
    background: #F5F5F5;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid #DC143C;
}

.renewal-summary h3 {
    color: #0052A3;
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 600;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    color: #0052A3;
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid #CCCCCC;
}

.summary-row.total {
    font-weight: 600;
    color: #0052A3;
    border-bottom: none;
}

.summary-row.final {
    border-bottom: none;
    border-top: 2px solid #0052A3;
    padding-top: 12px;
    font-weight: 700;
    font-size: 16px;
    color: #DC143C;
}

.summary-divider {
    height: 2px;
    background: #CCCCCC;
    margin: 12px 0;
}

/* PÁGINA DE BEM-VINDAS */
.welcome-container {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
    padding: 40px;
    animation: slideUp 0.5s ease-out;
}

.welcome-container .progress-steps {
    display: none;
}

.welcome-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.welcome-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce 0.8s ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.welcome-title {
    color: #0052A3;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.welcome-subtitle {
    color: #DC143C;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 0.3px;
}

.welcome-card {
    background: linear-gradient(135deg, #F5F5F5, #FFFFFF);
    border: 2px solid #CCCCCC;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    width: 100%;
}

.welcome-benefits h3 {
    color: #0052A3;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: left;
}

.benefits-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.benefits-checklist li {
    color: #0052A3;
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid #E0E0E0;
    font-weight: 500;
}

.benefits-checklist li:last-child {
    border-bottom: none;
}

.welcome-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #CCCCCC, transparent);
    margin: 20px 0;
}

.welcome-info {
    text-align: center;
}

.welcome-text {
    color: #0052A3;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.welcome-text.secondary {
    color: #666666;
    font-size: 13px;
    margin-bottom: 0;
}

.btn-welcome {
    background: linear-gradient(135deg, #DC143C, #C41E3A);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.btn-welcome:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
}

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

.auto-redirect {
    margin-top: 20px;
    color: #999999;
    font-size: 12px;
    font-weight: 500;
}

.auto-redirect p {
    margin: 0;
}

@media (max-width: 600px) {
    .welcome-title {
        font-size: 28px;
    }

    .welcome-icon {
        font-size: 60px;
    }

    .welcome-card {
        padding: 20px;
    }

    .welcome-benefits h3 {
        font-size: 15px;
    }

    .benefits-checklist li {
        font-size: 13px;
        padding: 6px 0;
    }
}

@media (max-width: 600px) {
    .validation-container {
        padding: 30px 20px;
    }

    .member-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .validation-button-group {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 25px 15px;
    }
    
    .progress-steps {
        gap: 5px;
    }

    .step-label {
        font-size: 8px;
        letter-spacing: -0.3px;
        font-weight: 700;
        line-height: 1.1;
    }

    .step-number {
        width: 26px;
        height: 26px;
        font-size: 12px;
        margin-bottom: 4px;
    }

    .step-line {
        top: 13px;
    }
}

@media (max-width: 400px) {
    .step-label {
        font-size: 7px;
    }
    .container {
        padding: 20px 10px;
    }
}

