body {
    font-family: Arial, sans-serif;
    line-height: 1.5;
    color: #444;
    font-size: 13px;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.google-header, 
.main-content, 
.challenge-title, 
.challenge-desc, 
.recaptcha-error, 
.recaptcha-disclaimer, 
.footer-bar {
    font-size: inherit;
}

button, input, a {
    font-size: 13px;
}

#captcha-section, 
#redirect-section {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    overflow: hidden;
}

.google-header {
    padding: 20px;
    border-bottom: 1px solid #f1f1f1;
    text-align: center;
}

.main-content {
    padding: 24px;
}

.challenge-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
}

.challenge-desc {
    margin-bottom: 24px;
    color: #666;
}

#recaptcha-container {
    margin-bottom: 20px;
}

.recaptcha-wrapper {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

#continue-btn {
    background-color: #4285f4;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
    font-weight: 500;
    margin-top: 20px;
}

#continue-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#continue-btn:hover:not(:disabled) {
    background-color: #357ae8;
}

.error-message {
    height: 20px;
    font-size: 12px;
    margin-top: 5px;
    text-align: center;
    color: #d32f2f;
}

.recaptcha-disclaimer {
    font-size: 11px;
    color: #777;
    margin-top: 16px;
    text-align: center;
}

.recaptcha-disclaimer a {
    color: #4285f4;
    text-decoration: none;
}

.footer-bar {
    padding: 16px 24px;
    border-top: 1px solid #f1f1f1;
    text-align: center;
    font-size: 12px;
    color: #777;
}

.footer-bar a {
    color: #4285f4;
    text-decoration: none;
    margin: 0 5px;
}

/* Hidden elements (still styled for when they were visible) */
.slider-container {
    margin: 20px 0;
}

#human-check {
    width: 100%;
    margin: 10px 0;
}

#slider-value {
    display: block;
    text-align: right;
    font-size: 12px;
}

.custom-challenge {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f1f1f1;
}

.challenge-prompt {
    font-weight: 500;
    margin-bottom: 10px;
}

.math-challenge {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

#math-question {
    width: 100%;
    font-size: 14px;
    margin-bottom: 5px;
}

#math-answer {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#verify-math {
    padding: 8px 16px;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(66, 133, 244, 0.2);
    border-radius: 50%;
    border-top-color: #4285f4;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 20px;
}

.error-container {
    padding: 20px;
    text-align: center;
}

.error-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.error-message {
    margin-bottom: 15px;
}

.manual-redirect {
    text-align: center;
    padding: 20px;
}

.manual-redirect-button {
    display: inline-block;
    background-color: #4285f4;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.blocked-message {
    padding: 20px;
    background-color: #fff5f5;
    border: 1px solid #ffeeee;
    border-radius: 4px;
    margin: 20px 0;
    text-align: center;
}

.blocked-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.blocked-text {
    color: #d32f2f;
    font-size: 14px;
    line-height: 1.4;
} 