.consulta-section {
    background: linear-gradient(135deg, #E90071 0%, #FE15A4 100%);
    min-height: calc(100vh - 200px);
    padding: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.consulta-section .container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.consulta-content {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.consulta-header {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

.consulta-header h1 {
    color: #E90071;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
}

.consulta-header p {
    color: #666;
    font-size: 16px;
}

.consulta-form {
    margin-bottom: 30px;
    width: 100%;
    max-width: 500px;
}

.form-hint {
    display: block;
    color: #999;
    font-size: 12px;
    margin-top: 6px;
}

.resultado-container {
    margin-top: 30px;
    border: 2px solid #E90071;
    border-radius: 12px;
    overflow: hidden;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.resultado-header {
    background: linear-gradient(135deg, #E90071 0%, #FE15A4 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.resultado-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.close-result {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    line-height: 1;
}

.close-result:hover {
    background: rgba(255, 255, 255, 0.3);
}

.resultado-content {
    padding: 30px;
    background: #fff0f7;
}

.resultado-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 12px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #E90071;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.resultado-item:last-child {
    margin-bottom: 0;
}

.resultado-label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.resultado-value {
    color: #E90071;
    font-weight: 500;
    font-size: 14px;
    text-align: right;
    flex: 1;
    margin-left: 20px;
}

.situacao-regular {
    color: #27ae60;
    font-weight: 600;
}

.situacao-irregular {
    color: #e74c3c;
    font-weight: 600;
}

.erro-container {
    margin-top: 30px;
    animation: slideDown 0.3s ease;
}

.erro-content {
    background: #fff5f5;
    border: 2px solid #e74c3c;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.erro-content svg {
    margin-bottom: 20px;
}

.erro-content h3 {
    color: #e74c3c;
    font-size: 20px;
    margin-bottom: 10px;
}

.erro-content p {
    color: #666;
    margin-bottom: 20px;
}

.retry-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.retry-btn:hover {
    background: #c0392b;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.loading-box {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.loading-box h3 {
    color: #E90071;
    margin-bottom: 20px;
}

@media (max-width: 968px) {
    .consulta-section {
        padding: 30px 0;
    }

    .consulta-content {
        padding: 35px;
        width: calc(100% - 30px);
    }

    .consulta-header h1 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .consulta-section {
        padding: 30px 0;
        min-height: calc(100vh - 160px);
    }

    .consulta-content {
        padding: 24px 20px;
        margin: 0 auto;
        width: calc(100% - 30px);
        border-radius: 16px;
    }

    .consulta-header {
        margin-bottom: 30px;
    }

    .consulta-header h1 {
        font-size: 22px;
        line-height: 1.3;
    }

    .consulta-header p {
        font-size: 14px;
    }

    .consulta-form {
        margin-bottom: 25px;
    }

    .resultado-content {
        padding: 18px;
    }

    .resultado-header {
        padding: 16px;
    }

    .resultado-header h2 {
        font-size: 18px;
    }

    .resultado-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px;
    }

    .resultado-label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .resultado-value {
        margin-left: 0;
        margin-top: 6px;
        text-align: left;
        font-size: 13px;
        width: 100%;
    }

    .erro-content {
        padding: 24px 20px;
    }

    .erro-content h3 {
        font-size: 18px;
    }

    .erro-content p {
        font-size: 14px;
    }

    .loading-box {
        padding: 30px 20px;
        width: calc(100% - 40px);
    }
}

@media (max-width: 480px) {
    .consulta-section {
        padding: 20px 0;
    }

    .consulta-content {
        padding: 20px 16px;
        width: calc(100% - 20px);
        border-radius: 12px;
    }

    .consulta-header h1 {
        font-size: 20px;
    }

    .consulta-header p {
        font-size: 13px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-group input {
        padding: 12px 14px;
        font-size: 15px;
    }

    .submit-btn {
        padding: 14px;
        font-size: 15px;
    }

    .resultado-content {
        padding: 16px;
    }

    .resultado-header {
        padding: 14px;
    }

    .resultado-header h2 {
        font-size: 16px;
    }

    .resultado-item {
        padding: 10px;
    }

    .resultado-label,
    .resultado-value {
        font-size: 12px;
    }

    .erro-content {
        padding: 20px 16px;
    }

    .erro-content svg {
        width: 40px;
        height: 40px;
    }

    .erro-content h3 {
        font-size: 16px;
    }

    .erro-content p {
        font-size: 13px;
    }

    .retry-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Footer styles para consulta.html */
.bottom-bar {
    background-color: #2c2c2c;
    padding: 20px 0;
}

.bottom-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.bottom-text {
    color: white;
    font-size: 16px;
    font-weight: 400;
}

.whatsapp-icon {
    width: 50px;
    height: 50px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    flex-shrink: 0;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }

    .bottom-bar {
        padding: 15px 0;
    }

    .bottom-bar .container {
        flex-direction: column;
        text-align: center;
    }

    .bottom-text {
        font-size: 14px;
        width: 100%;
    }

    .whatsapp-icon {
        width: 45px;
        height: 45px;
    }

    .whatsapp-icon svg {
        width: 24px;
        height: 24px;
    }
}

