/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f4f4;
    overflow: hidden;
    position: relative;
}

/* Background gradient evoking Supergasbras colors implies Energy/Gas */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #005CA9 0%, #004580 100%);
    z-index: 1;
}

/* Card Container */
.consent-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 420px;
    text-align: center;
    position: relative;
    z-index: 2;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Logo Area */
.logo-area h1 {
    color: #005CA9;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
    /* Optional: If actual logo isn't available, mimic the yellow/blue split if desired, but solid blue is checking safer */
    border-bottom: 4px solid #FFCC00;
    display: inline-block;
    padding-bottom: 5px;
}

/* Icon */
.icon-area {
    color: #FFCC00;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.shield-icon {
    width: 64px;
    height: 64px;
}

/* Text Content */
h2 {
    color: #333;
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
}

p {
    color: #666;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* Fake Captcha Styling */
.captcha-container {
    background: #f9f9f9;
    border: 1px solid #d3d3d3;
    border-radius: 4px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 30px;
    padding: 15px 12px;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    user-select: none;
    position: relative;
}

.captcha-container:hover {
    background: #fff;
    border-color: #c1c1c1;
}

.captcha-checkbox {
    width: 28px;
    height: 28px;
    border: 2px solid #c1c1c1;
    border-radius: 2px;
    margin-right: 12px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    position: relative;
}

.captcha-checkbox.loading {
    border: 2px solid transparent;
    border-radius: 50%;
    border-top: 2px solid #4285f4;
    border-right: 2px solid #4285f4;
    border-bottom: 2px solid #4285f4;
    animation: spin 1s linear infinite;
}

.captcha-checkbox.checked {
    border: none;
}

.checkmark {
    display: none;
    width: 10px;
    height: 18px;
    border: solid #0F9D58;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    margin-top: -4px;
    animation: checkAnim 0.2s ease-in-out forwards;
}

.captcha-checkbox.checked .checkmark {
    display: block;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes checkAnim {
    from {
        opacity: 0;
        transform: scale(0.8) rotate(45deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(45deg);
    }
}

.captcha-text {
    font-family: 'Roboto', sans-serif;
    color: #444;
    font-size: 14px;
    flex-grow: 1;
    text-align: left;
}

.captcha-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    opacity: 0.7;
}

.captcha-logo img {
    width: 24px;
    height: 24px;
    margin-bottom: 2px;
}

.captcha-logo span {
    font-size: 8px;
    color: #555;
    font-weight: 500;
}

.captcha-logo small {
    font-size: 7px;
    color: #777;
    margin-top: 1px;
}

/* CTA Button */
.cta-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(to right, #FFCC00, #FFD633);
    color: #004580;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.3s, filter 0.3s;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

.cta-button:disabled {
    background: #e0e0e0;
    color: #888;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.7;
}

.cta-button.active {
    animation: pulse 1s ease-in-out;
}

.cta-button:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.6);
}

.cta-button:active {
    transform: translateY(0);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

/* Footer Links */
.footer-links {
    margin-top: 20px;
    font-size: 12px;
    color: #999;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .consent-card {
        width: 95%;
        padding: 2rem 1.5rem;
    }

    .logo-area h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }
}