.mrsoukbh-smart-captcha-for-google-recaptcha-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    font-family: 'Segoe UI', sans-serif;
}

.card {
    background: #fff;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.card h2 {
    margin-top: 0;
    font-size: 1.3rem;
    color: #333;
}

input[type="text"], select {
    width: 100%;
    padding: 10px;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.toggle-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.toggle-label input {
    display: none;
}

.toggle-slider {
    width: 50px;
    height: 26px;
    background-color: #ccc;
    border-radius: 50px;
    position: relative;
    transition: background-color 0.3s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    background: #fff;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: 0.3s;
}

.toggle-label input:checked + .toggle-slider {
    background-color: #4CAF50;
}

.toggle-label input:checked + .toggle-slider::before {
    transform: translateX(24px);
}

.mrsoukbh-smart-captcha-for-google-recaptcha-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #666;
}

.mrsoukbh-smart-captcha-for-google-recaptcha-footer a {
    color: #0073aa;
    text-decoration: none;
}
.mrsoukbh-smart-captcha-for-google-recaptcha-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .card, input[type="text"], select {
        font-size: 0.95rem;
    }
}

/* Tabs */
.tab-nav-wrapper {
    position: sticky;
    top: 32px;
    background: #fff;
    z-index: 10;
    padding-top: 0.5rem;
}

.tab-nav {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    border-bottom: 2px solid #ccc;
}

.tab-nav li {
    padding: 10px 16px;
    cursor: pointer;
    background: #f1f1f1;
    margin: 0 5px 5px 0;
    border-radius: 5px 5px 0 0;
    font-size: 14px;
    flex-shrink: 0;
}

.tab-nav li.active {
    background: #fff;
    border-bottom: 2px solid #fff;
    font-weight: bold;
}

.tab-content {
    display: none;
    margin-bottom: 1rem;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .tab-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .tab-nav li {
        white-space: nowrap;
        flex: 0 0 auto;
        font-size: 13px;
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .tab-nav li {
        font-size: 12px;
        padding: 8px 10px;
    }
}

#tab-chart {
    position: relative;
    min-height: 400px;
}

#tab-chart canvas {
    min-height: 300px;
    width: 100% !important;
    height: 100% !important;
}
