/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos para mensagem de dispositivo já respondido */
.already-responded {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.03) 0%, transparent 35%),
        #ffffff;
}

.already-responded-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.already-responded .icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1.5rem;
}

.already-responded h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.already-responded p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.already-responded-actions {
    margin-top: 2rem;
}

.already-responded .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.already-responded .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.03) 0%, transparent 35%),
        radial-gradient(circle at 40% 60%, rgba(147, 197, 253, 0.02) 0%, transparent 30%),
        radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.025) 0%, transparent 25%),
        radial-gradient(circle at 10% 70%, rgba(96, 165, 250, 0.045) 0%, transparent 45%),
        #ffffff;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.75rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0;
    position: relative;
    padding: 0 2rem;
}


.header-actions {
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
}

.institute {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 0.85rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Header Button */
.btn-header {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    min-width: 160px;
    height: 40px;
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, #d97706, #b45309);
}

.btn-header i {
    font-size: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
    transition: all 0.3s ease;
}

.logo-img:hover {
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.5));
    transform: scale(1.05);
}

.logo h1 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Progress Bar */
.progress-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-direction: column;
}


.progress-bar {
    width: 250px;
    height: 10px;
    background: rgba(96, 165, 250, 0.2);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    width: 7.14%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

.progress-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #60a5fa;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Main Content */
.main-content {
    padding: 0;
}

/* Hero Section */
.hero-section {
    background: 
        radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(96, 165, 250, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(147, 197, 253, 0.02) 0%, transparent 35%),
        #ffffff;
    color: #1a1a1a;
    padding: 6rem 2rem;
    display: flex;
    align-items: center;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(147, 197, 253, 0.01) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    text-align: left;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wifi-illustration {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wifi-illustration i {
    font-size: 5rem;
    color: #f59e0b;
    z-index: 2;
    text-shadow: 0 0 30px rgba(245, 158, 11, 0.8);
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    from {
        text-shadow: 0 0 30px rgba(245, 158, 11, 0.8);
    }
    to {
        text-shadow: 0 0 50px rgba(245, 158, 11, 1);
    }
}

.signal-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wave {
    position: absolute;
    border: 3px solid #f59e0b;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

.wave:nth-child(1) {
    width: 120px;
    height: 120px;
    top: -40px;
    left: -40px;
    animation-delay: 0s;
}

.wave:nth-child(2) {
    width: 120px;
    height: 120px;
    top: -60px;
    left: -60px;
    animation-delay: 0.5s;
}

.wave:nth-child(3) {
    width: 160px;
    height: 160px;
    top: -80px;
    left: -80px;
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(0.8);
    }
    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

.hero-text h2 {
    font-size: 4rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.6rem;
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-description p {
    font-size: 1.3rem;
    color: #1a1a1a;
    line-height: 1.8;
    max-width: 600px;
}

/* Section Content */
.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Why Participate Section */
.why-participate {
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.03) 0%, transparent 40%),
        #ffffff;
    padding: 6rem 0;
    position: relative;
}

.why-participate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(147, 197, 253, 0.01) 0%, transparent 50%);
    pointer-events: none;
}

.why-participate h3 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.06) 0%, transparent 35%),
        rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.benefit-card:hover {
    transform: translateY(-8px);
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    position: relative;
}

.benefit-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.benefit-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.benefit-card p {
    color: #1a1a1a;
    line-height: 1.7;
    font-size: 1.2rem;
}

/* Survey Info Section */
.survey-info {
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.03) 0%, transparent 40%),
        #ffffff;
    padding: 6rem 0;
    position: relative;
}

.survey-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(147, 197, 253, 0.01) 0%, transparent 50%);
    pointer-events: none;
}

.survey-info h3 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.06) 0%, transparent 35%),
        rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.info-card:hover {
    transform: translateY(-8px);
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.info-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.info-icon i {
    font-size: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.info-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.info-card p {
    color: #1a1a1a;
    font-size: 1.2rem;
    line-height: 1.6;
}

.card {
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.06) 0%, transparent 35%),
        rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

.card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.card p {
    color: #666;
    line-height: 1.6;
}

/* Research Info */
.research-info {
    background: 
        radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(96, 165, 250, 0.06) 0%, transparent 35%),
        rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.research-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    text-align: center;
}

.methodology {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.method-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.method-text {
    font-weight: 500;
    color: #1a1a1a;
}

.method-text small {
    display: block;
    color: #666;
    font-weight: 400;
}

.isid-info {
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

.isid-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
    text-align: center;
}

.formula {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.formula code {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 1.1rem;
    color: #667eea;
    font-weight: 600;
}

.targets {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.target {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.target-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.target-value {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.target-value.success {
    background: #d4edda;
    color: #155724;
}

.target-value.warning {
    background: #f8d7da;
    color: #721c24;
}

/* CTA Section */
.cta-section {
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.03) 0%, transparent 40%),
        #ffffff;
    color: #1a1a1a;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
}

.cta-content p {
    font-size: 1.6rem;
    margin-bottom: 3rem;
    color: #1a1a1a;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.03) 0%, transparent 40%),
        #ffffff;
    padding: 6rem 0;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(147, 197, 253, 0.01) 0%, transparent 50%);
    pointer-events: none;
}

.contact-section h3 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.06) 0%, transparent 35%),
        rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    min-width: 0;
    flex: 1;
    overflow: hidden;
    height: 100%;
}

.contact-item:hover {
    transform: translateY(-8px);
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.contact-item i {
    font-size: 2.5rem;
    color: #60a5fa;
    width: 60px;
    text-align: center;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}

.contact-item .contact-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.contact-item h4 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.contact-item p {
    color: #1a1a1a;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    white-space: normal;
    word-break: break-word;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    line-height: 1.4;
    max-width: 100%;
}

.contact-item a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
    max-width: 100%;
}

.contact-item a:hover {
    color: #1a1a1a;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.cta-note {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #666;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
    padding: 1.5rem 4rem;
    border-radius: 16px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.5);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.7);
    background: linear-gradient(135deg, #d97706, #b45309);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    border: 2px solid #667eea;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Survey Container */
.survey-container {
    background: #ffffff;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.survey-form {
    position: relative;
}

/* Question Cards */
.question-card {
    display: none !important;
    animation: fadeIn 0.5s ease;
    background: #ffffff;
    border-radius: 0;
    padding: 1rem 3rem 2rem 3rem;
    margin: 0;
    border: none;
    box-shadow: none;
    flex: 1;
    flex-direction: column;
    justify-content: flex-start;
}

.question-card.active {
    display: flex !important;
}

/* Garantir que apenas uma pergunta seja visível por vez */
.question-card:not(.active) {
    display: none !important;
}

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

.question-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.question-number {
    width: 45px;
    height: 45px;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.03) 0%, transparent 35%),
        rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.question-type {
    background: rgba(59, 130, 246, 0.1);
    color: #1a1a1a;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
}

.question-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Options */
.options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1.2rem 1.8rem;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    gap: 1rem;
}

.option:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.option input[type="radio"]:checked + .option-text {
    color: #3b82f6;
    font-weight: 600;
}

.option:has(input[type="radio"]:checked) {
    background: rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-text {
    font-size: 1.2rem;
    color: #1a1a1a;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.option-points {
    display: none;
}

/* Multiple Choice */
.multiple-choice .option {
    justify-content: flex-start;
    gap: 1rem;
}

.multiple-choice .option input[type="checkbox"] {
    display: none;
}

.multiple-choice .option input[type="checkbox"]:checked + .option-text {
    color: #667eea;
    font-weight: 600;
}

/* Result Container */
.result-container {
    text-align: center;
    padding: 2rem;
}

.result-header {
    margin-bottom: 2rem;
}

.result-header i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.result-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
}

.isid-result {
    margin-bottom: 2rem;
}

.isid-score {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 2rem 3rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.score-label {
    font-size: 1.2rem;
    font-weight: 500;
}

.score-value {
    font-size: 3rem;
    font-weight: 700;
}

.score-status {
    font-size: 1.1rem;
    font-weight: 600;
}

.result-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.result-details h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
    text-align: center;
}

.calculation-breakdown {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Navigation */
.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    background: #ffffff;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.btn-nav {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    min-width: 140px;
    justify-content: center;
}

.btn-nav:hover:not(:disabled) {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.5);
}

.btn-nav:disabled,
.btn-nav.disabled {
    background: #6c757d !important;
    color: #fff !important;
    border: 2px solid #6c757d !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.5 !important;
    pointer-events: none !important;
}

/* Forçar estilo para botão desabilitado */
#nextBtn:disabled {
    background: #6c757d !important;
    color: #fff !important;
    border: 2px solid #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.5 !important;
    pointer-events: none !important;
}

/* FORÇAR ESTILO PARA BOTÃO ATIVO - MAIS ESPECÍFICO */
#nextBtn.active,
#nextBtn:not(:disabled),
#nextBtn[style*="background"] {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    color: white !important;
    border: 2px solid #3b82f6 !important;
    cursor: pointer !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4) !important;
}

/* FORÇAR HOVER PARA BOTÃO ATIVO */
#nextBtn.active:hover,
#nextBtn:not(:disabled):hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6) !important;
}

.btn-submit {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    display: inline-block !important;
    visibility: visible !important;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #218838, #1ea085);
}

/* Footer */
.footer {
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.025) 0%, transparent 40%),
        #ffffff;
    color: #1a1a1a;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.3));
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    filter: drop-shadow(0 0 15px rgba(96, 165, 250, 0.5));
    transform: scale(1.05);
}

.footer-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #1a1a1a;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.footer-text p {
    font-size: 0.9rem;
    color: #1a1a1a;
    margin: 0;
    font-weight: 600;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    font-size: 0.9rem;
    color: rgba(26, 26, 26, 0.8);
    margin-bottom: 0.5rem;
}

/* Admin Styles */
.admin-body {
    /* Fundo totalmente branco no painel administrativo */
    background: #ffffff;
}

.admin-container {
    min-height: 80vh;
}

/* Login Screen */
.login-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 40% 60%, rgba(147, 197, 253, 0.04) 0%, transparent 30%),
        #ffffff;
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header i {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.login-logo {
    width: 150px;
    height: 150px;
    margin-bottom: 1rem;
    object-fit: contain;
}

.login-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #666;
    font-size: 0.9rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #1a1a1a;
}

.form-group input {
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
}

.btn-login {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(107, 114, 128, 0.4);
    background: linear-gradient(135deg, #4b5563, #374151);
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Dashboard Screen */
.dashboard-screen {
    min-height: 80vh;
}

.admin-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.15rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.25rem;
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-logo .logo-img {
    width: 50px;
    height: 50px;
}

.admin-logo i {
    font-size: 1.5rem;
    color: #667eea;
}

.admin-logo h1 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.admin-actions {
    display: flex;
    gap: 1rem;
}

.btn-refresh, .btn-export, .btn-noc, .btn-logout {
    background: #f8f9fa;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-refresh:hover, .btn-export:hover {
    background: #667eea;
    color: white;
}

.btn-noc {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.btn-noc:hover {
    background: #2563eb;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-logout {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.btn-logout:hover {
    background: #c82333;
    border-color: #c82333;
}

.admin-main {
    padding: 0.5rem 1rem;
    background: #ffffff;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 1.2rem;
    color: #6c757d;
}

.stat-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.stat-content p {
    color: #666;
    font-size: 0.9rem;
}

/* Charts Grid */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.chart-card {
    background: white;
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.chart-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

/* Limitar altura dos gráficos do painel administrativo */
.chart-card canvas {
    max-height: 220px;
}

/* Formula Analysis */
.formula-analysis {
    margin: 0.75rem 0;
}

.formula-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0.75rem;
}

.formula-card {
    background: white;
    border-radius: 15px;
    padding: 0.6rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-left: 5px solid #3b82f6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.formula-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.formula-card.result {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.formula-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.formula-card.result .formula-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.formula-content h4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.formula-content p {
    color: #666;
    margin: 0.5rem 0 0 0;
    font-size: 1rem;
    line-height: 1.4;
}

.formula-content small {
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Analysis Sections */
.analysis-section, .demographic-section {
    background: white;
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.75rem;
}

.analysis-section h3, .demographic-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.questions-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    justify-content: space-between;
}

.question-analysis {
    background: #ffffff;
    border-radius: 8px;
    padding: 0.6rem;
    min-width: 180px;
    flex-grow: 1;
    flex-shrink: 0;
}

.question-analysis h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.question-stats {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.3;
}

.demographic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
}

.demographic-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 0.5rem;
    min-height: 210px;
    display: flex;
    flex-direction: column;
}

.demographic-card canvas {
    flex: 1;
    max-height: 180px;
}

.demographic-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    text-align: center;
}

/* Data Table */
.data-table-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: none;
}

.data-table-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    gap: 0.75rem;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 300px;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.search-box input {
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 0.9rem;
}

.search-box input:focus {
    outline: none;
    border-color: #667eea;
}

.filter-controls select {
    padding: 0.5rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 0.9rem;
    background: white;
}

.table-container {
    overflow-x: auto;
    margin-bottom: 1.5rem;
    position: relative;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

/* Paginação da tabela (admin) */
.table-pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
    padding: 0.5rem 0;
    margin-top: 0.25rem;
    border-radius: 0;
    background: #ffffff;
    border: none;
    box-shadow: none;
    position: sticky;
    bottom: 0.5rem;
    right: 0.5rem;
    margin-left: auto;
}

.pagination-info {
    font-size: 0.8rem;
    color: #6b7280;
    white-space: nowrap;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-pagination {
    border: none;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    background: #2563eb;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}

.btn-pagination:hover:not(:disabled) {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.btn-pagination:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: default;
    box-shadow: none;
}

.pagination-page {
    font-size: 0.8rem;
    color: #374151;
    font-weight: 500;
    white-space: nowrap;
}

.data-table th,
.data-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.data-table th {
    background: #ffffff;
    font-weight: 600;
    color: #1a1a1a;
}

.data-table tr:hover {
    background: #ffffff;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.pagination button {
    background: #f8f9fa;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination button:hover:not(:disabled) {
    background: #667eea;
    color: white;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .logo-text {
        align-items: center;
        text-align: center;
    }
    
    .header-actions {
        position: static;
        transform: none;
        justify-content: center;
    }
    
    .btn-header {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-width: 160px;
        height: 45px;
    }
    
    .logo-img {
        width: 80px;
        height: 80px;
    }
    
    .hero-section {
        padding: 3rem 1rem;
        min-height: 50vh;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description p {
        font-size: 0.9rem;
    }
    
    .wifi-illustration {
        width: 120px;
        height: 120px;
    }
    
    .wifi-illustration i {
        font-size: 2.5rem;
    }
    
    .why-participate {
        padding: 3rem 0;
    }
    
    .why-participate h3 {
        font-size: 1.8rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-card {
        padding: 1.5rem 1rem;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
    }
    
    .benefit-icon i {
        font-size: 1.5rem;
    }
    
    .benefit-card h4 {
        font-size: 1.1rem;
    }
    
    .survey-info {
        padding: 3rem 0;
    }
    
    .survey-info h3 {
        font-size: 1.8rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-card {
        padding: 1.5rem 1rem;
    }
    
    .info-icon {
        width: 80px;
        height: 80px;
    }
    
    .info-icon i {
        font-size: 1.5rem;
    }
    
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-content h3 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .btn-primary {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-section h3 {
        font-size: 1.8rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-item i {
        font-size: 2rem;
    }
    
    .contact-item h4 {
        font-size: 1.2rem;
    }
    
    .contact-item p,
    .contact-item a {
        font-size: 0.9rem;
        white-space: normal;
        word-break: break-word;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-logo-img {
        width: 80px;
        height: 80px;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .section-content {
        padding: 0 1rem;
    }
    
    .progress-floating {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.6rem 0.8rem;
    }
    
    .progress-info {
        font-size: 0.8rem;
        gap: 0.3rem;
    }
    
    .progress-info span:first-child {
        font-size: 1rem;
    }
    
    .question-card {
        padding: 1rem 1.5rem 2rem 1.5rem;
    }
    
    .question-title {
        font-size: 1.5rem;
    }
    
    .option {
        padding: 1rem 1.5rem;
    }
    
    .option-text {
        font-size: 1.1rem;
    }
}

/* Badges */
.badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge.success {
    background: #d4edda;
    color: #155724;
}

.badge.warning {
    background: #fff3cd;
    color: #856404;
}

.badge.danger {
    background: #f8d7da;
    color: #721c24;
}

/* Status text */
.status-text.success {
    color: #28a745;
}

.status-text.warning {
    color: #ffc107;
}

.status-text.danger {
    color: #dc3545;
}

/* Small buttons */
.btn-small {
    background: #f8f9fa;
    color: #667eea;
    border: 1px solid #667eea;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background: #667eea;
    color: white;
}

@media (max-width: 480px) {
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description p {
        font-size: 0.85rem;
    }
    
    .why-participate h3 {
        font-size: 1.6rem;
    }
    
    .survey-info h3 {
        font-size: 1.6rem;
    }
    
    .cta-content h3 {
        font-size: 1.8rem;
    }
    
    .contact-section h3 {
        font-size: 1.6rem;
    }
    
    .benefit-card {
        padding: 1.2rem 0.8rem;
    }
    
    .info-card {
        padding: 1.2rem 0.8rem;
    }
    
    .contact-item {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .contact-item i {
        font-size: 1.8rem;
    }
    
    .contact-item h4 {
        font-size: 1.1rem;
    }
    
    .contact-item p,
    .contact-item a {
        font-size: 0.8rem;
        white-space: normal;
        word-break: break-word;
    }
    
    .survey-container {
        padding: 1rem;
    }
    
    .question-card {
        padding: 0.5rem 1rem 1.5rem 1rem;
    }
    
    .question-title {
        font-size: 1.3rem;
    }
    
    .option {
        padding: 0.8rem 1.2rem;
    }
    
    .option-text {
        font-size: 1rem;
    }
    
    .navigation {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .btn-nav {
        width: 100%;
        padding: 1rem 2rem;
    }
    
    .progress-floating {
        top: 0.3rem;
        right: 0.3rem;
        padding: 0.5rem 0.6rem;
    }
    
    .progress-info {
        font-size: 0.75rem;
        gap: 0.2rem;
    }
    
    .progress-info span:first-child {
        font-size: 0.9rem;
    }
    
    .thank-you-title {
        font-size: 1.8rem;
    }
    
    .thank-you-text {
        font-size: 1rem;
    }
    
    .thank-you-subtitle {
        font-size: 0.9rem;
    }
    
    .thank-you-icon i {
        font-size: 3rem;
    }
    
    .confirmation-container {
        padding: 2rem 1rem;
    }
    
    .confirmation-title {
        font-size: 1.8rem;
    }
    
    .confirmation-text {
        font-size: 1rem;
    }
    
    .confirmation-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .confirmation-actions .btn-nav {
        max-width: none;
        width: 100%;
    }
    
    .admin-main {
        padding: 1rem;
    }
}

/* Regra final para garantir que apenas uma pergunta seja visível */
.survey-form .question-card {
    display: none !important;
}

.survey-form .question-card.active {
    display: flex !important;
}

/* Forçar comportamento correto */
div[data-question]:not(.active) {
    display: none !important;
}

div[data-question].active {
    display: flex !important;
}

/* Barra de Progresso Flutuante */
.progress-floating {
    background: #ffffff;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
    margin-bottom: 2rem;
}

.progress-info {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 0.9rem;
}

.progress-info span:first-child {
    color: #3b82f6;
    font-size: 1.1rem;
    font-weight: 700;
}

.progress-separator {
    color: #1a1a1a;
    font-size: 0.9rem;
}

.progress-info span:last-child {
    color: #1a1a1a;
    font-size: 0.9rem;
}

/* Página de Confirmação */
.confirmation-container {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.confirmation-header {
    margin-bottom: 2rem;
}

.confirmation-header i {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.confirmation-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
}

.confirmation-message {
    margin-bottom: 3rem;
}

.confirmation-icon {
    margin-bottom: 2rem;
}

.confirmation-icon i {
    font-size: 4rem;
    color: #f59e0b;
    text-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

.confirmation-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.confirmation-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.confirmation-checkbox {
    background: rgba(59, 130, 246, 0.05);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.confirmation-option {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #1a1a1a;
    font-weight: 500;
}

.confirmation-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: #3b82f6;
}

.confirmation-option input[type="checkbox"]:checked + .checkbox-text {
    color: #3b82f6;
    font-weight: 600;
}

.checkbox-text {
    transition: all 0.3s ease;
}

.confirmation-actions {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
}

.confirmation-actions .btn-nav {
    flex: 1;
    max-width: 200px;
}

/* Página de Agradecimento */
.thank-you-message {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-icon i {
    font-size: 4rem;
    color: #3b82f6;
    text-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

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

.thank-you-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.thank-you-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.thank-you-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #3b82f6;
    font-weight: 600;
    font-style: italic;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.result-actions {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.result-actions .btn-primary {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.result-actions .btn-primary:hover {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.5);
}

.login-container {
    padding: 2rem 1.5rem;
    margin: 1rem;
}

/* Estilos para gerenciamento de ondas */
.waves-management {
    margin-bottom: 2rem;
}

.wave-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: stretch;
}

.current-wave-info h4,
.new-wave-controls h4 {
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.active-wave-card {
    background: #ffffff;
    color: #374151;
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: none;
    border: 1px solid #e5e7eb;
    height: 100%;
    justify-content: space-between;
}

.active-wave-card .wave-code {
    font-size: 1.5rem;
    font-weight: 700;
    color: #374151;
}

.active-wave-card .wave-period {
    font-size: 0.9rem;
    color: #6b7280;
}

.new-wave-form {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: none;
    border: 1px solid #e5e7eb;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.3rem;
}

.form-group input {
    padding: 0.4rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    background: #ffffff;
    height: 2rem;
}

.form-group input:focus {
    outline: none;
    border-color: #6b7280;
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.1);
    background: #ffffff;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-secondary:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

.wave-preview {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
}

.wave-preview h5 {
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.wave-preview-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.wave-preview-code {
    font-size: 1.2rem;
    font-weight: 700;
    color: #3b82f6;
}

.wave-preview-name {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Botão específico para criar nova onda */
.new-wave-form .btn-primary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 1rem;
    width: auto;
    max-width: 200px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    align-self: flex-start;
    box-shadow: none;
}

.new-wave-form .btn-primary:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Modal styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #374151;
    font-size: 1.2rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

.modal-body {
    padding: 1.5rem;
}

.waves-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wave-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wave-item:hover {
    background: #f3f4f6;
    border-color: #3b82f6;
}

.wave-item.active {
    background: #dbeafe;
    border-color: #3b82f6;
    color: #1e40af;
}

.wave-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.wave-item-code {
    font-weight: 600;
    color: #374151;
}

.wave-item-period {
    font-size: 0.8rem;
    color: #6b7280;
}

.wave-item-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.wave-item-status.active {
    background: #dcfce7;
    color: #166534;
}

.wave-item-status.inactive {
    background: #fef3c7;
    color: #92400e;
}

/* Estilos para análise de ondas */
.waves-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.wave-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 0.75rem;
    box-shadow: none;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    height: 100%;
}


.wave-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

.wave-code {
    font-size: 1.2rem;
    font-weight: 700;
    color: #3b82f6;
}

.wave-period {
    color: #6b7280;
    font-size: 0.75rem;
}

/* Layout dos cards lado a lado */
.wave-controls {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

/* Card de Gerenciamento de Ondas */
.wave-management-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: none;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 300px;
    flex: 1;
}

.wave-management-card h3 {
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.wave-management-card h4 {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 500;
}

.active-wave-info {
    text-align: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

/* Estilos específicos para o card "Onda Ativa" */
.active-wave-card {
    background: white;
    border-radius: 15px;
    padding: 1rem 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 140px;
    max-height: 180px;
    text-align: center;
}

.active-wave-card .wave-code {
    font-size: 1.2rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.3rem;
}

.active-wave-card .wave-period {
    color: #6b7280;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.active-wave-card button {
    margin: 0 auto;
    display: block;
    width: fit-content;
}

.wave-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.2rem;
    margin-top: auto;
    margin-bottom: 0.5rem;
}

.stat-item {
    text-align: center;
    padding: 0.4rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-label {
    display: block;
    font-size: 0.65rem;
    color: #6b7280;
    margin-bottom: 0.2rem;
    font-weight: 500;
}

.stat-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #374151;
}

/* Estilos específicos para o card "Nova Onda" */
.new-wave-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 300px;
    flex: 1;
}

.new-wave-card h4 {
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.wave-preview-info {
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    flex: 1;
    justify-content: center;
}

/* Estilos para análise de "prefiro não informar" */
.non-informative-analysis {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.non-informative-analysis h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.non-informative-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.non-informative-stats .stat-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.non-informative-stats .stat-label {
    display: block;
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.non-informative-stats .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #dc3545;
}

.non-informative-chart {
    height: 300px;
    margin-top: 1rem;
}

.wave-preview-info h5 {
    color: #374151;
    margin-bottom: 0.2rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.wave-preview-code {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.1rem;
}

.wave-preview-name {
    display: block;
    font-size: 0.7rem;
    color: #6b7280;
    margin-bottom: 0.3rem;
}

/* Botão "Criar Nova Onda" menor e cinza fraco */
.new-wave-card .btn-primary {
    background: #9ca3af;
    border: 1px solid #9ca3af;
    color: white;
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
    width: auto;
    max-width: 150px;
    margin: 0;
    display: block;
    box-shadow: none;
    outline: none;
}

.new-wave-card .btn-primary:hover {
    background: #6b7280;
    border-color: #6b7280;
    transform: translateY(-1px);
    box-shadow: none;
    outline: none;
}

.new-wave-card .btn-primary:focus {
    box-shadow: none;
    outline: none;
}

/* Lista Simples de Ondas */
.waves-simple-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.wave-item-simple {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.3rem;
    background: transparent;
    border-radius: 6px;
    border: none;
    transition: all 0.2s;
    max-width: 100%;
    flex-wrap: wrap;
}

.wave-item-simple:hover {
    background: rgba(59, 130, 246, 0.06);
}

.wave-item-info {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.wave-item-code {
    font-size: 0.75rem;
    font-weight: 700;
    color: #3b82f6;
}

.wave-item-period {
    font-size: 0.6rem;
    color: #6b7280;
}

.wave-item-status {
    padding: 0.05rem 0.25rem;
    border-radius: 10px;
    font-size: 0.55rem;
    font-weight: 600;
}

.wave-item-status.active {
    background: #dcfce7;
    color: #166534;
}

.wave-item-status.inactive {
    background: #f3f4f6;
    color: #6b7280;
}

.wave-item-actions {
    display: inline-flex;
    gap: 0.25rem;
}

.wave-item-actions button {
    padding: 0.15rem 0.35rem;
    border: none;
    border-radius: 4px;
    font-size: 0.65rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.wave-item-actions .btn-view {
    background: #3b82f6;
    color: white;
}

.wave-item-actions .btn-view:hover {
    background: #2563eb;
}

.wave-item-actions .btn-delete {
    background: #ef4444;
    color: white;
}

.wave-item-actions .btn-delete:hover {
    background: #dc2626;
}

/* Lista de Ondas */
.waves-list {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.waves-list h5 {
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.waves-table {
    overflow-x: auto;
}

.waves-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.waves-table th {
    background: #f8fafc;
    color: #374151;
    font-weight: 600;
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.9rem;
}

.waves-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
    color: #6b7280;
    font-size: 0.9rem;
}

.waves-table tr:hover {
    background: #f8fafc;
}

.wave-actions {
    display: flex;
    gap: 0.3rem;
}

.wave-actions button {
    padding: 0.2rem 0.4rem;
    border: none;
    border-radius: 4px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.wave-actions .btn-view {
    background: #3b82f6;
    color: white;
}

.wave-actions .btn-view:hover {
    background: #2563eb;
}

.wave-actions .btn-delete {
    background: #ef4444;
    color: white;
}

.wave-actions .btn-delete:hover {
    background: #dc2626;
}

.status-active {
    color: #10b981;
    font-weight: 600;
}

.status-inactive {
    color: #6b7280;
}

.wave-comparison {
    background: white;
    border-radius: 15px;
    padding: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.wave-comparison h4 {
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.comparison-chart {
    height: 300px;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.comparison-chart canvas {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
}

/* Responsividade para análise de ondas */
@media (max-width: 768px) {
    .waves-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .wave-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-top: auto;
        margin-bottom: 0.5rem;
    }
    
    .comparison-chart {
        height: 300px;
        width: 100%;
    }
    
    .comparison-chart canvas {
        width: 100% !important;
        height: 100% !important;
    }
}

/* Estilos para mensagem de rate limit */
.rate-limit-message {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    background: 
        radial-gradient(circle at 20% 20%, rgba(239, 68, 68, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(252, 165, 165, 0.03) 0%, transparent 35%),
        #ffffff;
}

.rate-limit-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    border: 1px solid rgba(239, 68, 68, 0.1);
}

.rate-limit-message .icon {
    font-size: 4rem;
    color: #f59e0b;
    margin-bottom: 1.5rem;
}

.rate-limit-message h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.rate-limit-message p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.rate-limit-info {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
}

.rate-limit-info small {
    color: #92400e;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rate-limit-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.rate-limit-actions .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.rate-limit-actions .btn-primary {
    background: #3b82f6;
    color: white;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.rate-limit-actions .btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.rate-limit-actions .btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.rate-limit-actions .btn-secondary:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

/* Estilos para aviso de privacidade */
.privacy-notice {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
}

.privacy-notice small {
    color: #0c4a6e;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Estilos para informação de próxima resposta */
.next-response-info {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
}

.next-response-info.available {
    background: #d1fae5;
    border: 1px solid #10b981;
}

.next-response-info h3 {
    color: #92400e;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.next-response-info.available h3 {
    color: #065f46;
}

.next-response-info p {
    color: #92400e;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.next-response-info.available p {
    color: #065f46;
}

.next-response-info small {
    color: #92400e;
    font-size: 0.875rem;
}

.next-response-info.available small {
    color: #065f46;
}

/* Responsividade para novas mensagens */
@media (max-width: 768px) {
    .rate-limit-actions {
        flex-direction: column;
    }
    
    .rate-limit-actions .btn {
        width: 100%;
    }
}
