a:active {
    background-color: transparent !important;
}

h2 {
    font-size: 30px !important;
}

header {
    top: 0;
    position: fixed;
    width: 100%;
    display: block;
}

.logo {
    width: 70px;
    height: 100%;
}

.img-big {
    width: 300px;
    height: 100%;
}

main {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

main>div {
    margin-top: 3rem !important;
}

main a {
    color: #000;
}

.header {
    background-position: center;
    color: #fff;
    height: 300px;
    display: flex;
    align-items: center;
}

.form-signin,
.form-signup {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.form-signup {
    max-width: 600px;
}

input[type=checkbox] {
    border: 1px solid var(--bs-primary);
    box-sizing: content-box;
    display: inline-block;
    font-size: 1em;
    -webkit-appearance: none;
    margin: 0;
    position: relative;
    text-align: center;
    line-height: normal;
    min-height: 0 !important;
    width: 16px;
    height: 16px;
    box-sizing: border-box;
    vertical-align: middle;
}

input[type=checkbox]:checked {
    border: 1px solid var(--bs-primary);
    background-color: var(--bs-primary);
}

body .bg-dark {
    background-color: var(--bs-tertiary) !important;
}

.btn-primary {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.btn.custom-secondary {
    background-color: var(--bs-secondary) !important;
    border-color: var(--bs-secondary) !important;
    color: #fff !important;
}

.btn.custom-secondary:hover {
    color: var(--bs-secondary) !important;
    background-color: transparent !important;
}

.btn-primary:hover,
.btn-outline-secondary {
    background-color: #fff !important;
    color: var(--bs-primary) !important;
    border: 1px solid !important;
    border-color: var(--bs-primary) !important;
}

.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.btn-outline-primary:hover,
div.bg-primary,
.btn-outline-secondary:hover {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
}

.rounded-left-0 {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}


footer a i {
    color: #fff !important;
}

main>div a,
a:not(.btn):hover,
a.active,
a:hover i {
    color: var(--bs-primary) !important;
}

.he-40 {
    height: 40px !important;
}

.wi-25 {
    width: 25px !important;
}

.he-25 {
    height: 25px !important;
}

/* Fix modal bootstrap */
.btn {
    box-shadow: none !important;
}

.wi-49 {
    width: 49% !important;
}

.object-fit-contain {
    object-fit: contain !important;
}


/** Checkbox style */
@supports (-webkit-appearance: none) or (-moz-appearance: none) {
    .checkbox-wrapper-14 input[type=checkbox] {
        --active-inner: #fff;
        --focus: 2px var(--bs-primary);
        --background: #fff;
        --disabled: #F6F8FF;
        --disabled-inner: #E1E6F9;
        -webkit-appearance: none;
        -moz-appearance: none;
        height: 21px;
        outline: none;
        display: inline-block;
        vertical-align: top;
        position: relative;
        margin: 0;
        cursor: pointer;
        border: 1px solid var(--bc, var(--bs-primary));
        background: var(--b, var(--background));
        transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
    }

    .checkbox-wrapper-14 input[type=checkbox]:after {
        content: "";
        display: block;
        left: 0;
        top: 0;
        position: absolute;
        transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
    }

    .checkbox-wrapper-14 input[type=checkbox]:checked {
        --b: var(--bs-primary);
        --bc: var(--bs-primary);
        --d-o: .3s;
        --d-t: .6s;
        --d-t-e: cubic-bezier(.2, .85, .32, 1.2);
    }

    .checkbox-wrapper-14 input[type=checkbox]:disabled {
        --b: var(--disabled);
        cursor: not-allowed;
        opacity: 0.9;
    }

    .checkbox-wrapper-14 input[type=checkbox]:disabled:checked {
        --b: var(--disabled-inner);
        --bc: var(--bs-primary);
    }

    .checkbox-wrapper-14 input[type=checkbox]:disabled+label {
        cursor: not-allowed;
    }

    .checkbox-wrapper-14 input[type=checkbox]:hover:not(:checked):not(:disabled) {
        --bc: var(--bs-primary);
    }

    .checkbox-wrapper-14 input[type=checkbox]:focus {
        box-shadow: 0 0 0 var(--focus);
    }

    .checkbox-wrapper-14 input[type=checkbox]:not(.switch) {
        width: 21px;
    }

    .checkbox-wrapper-14 input[type=checkbox]:not(.switch):after {
        opacity: var(--o, 0);
    }

    .checkbox-wrapper-14 input[type=checkbox]:not(.switch):checked {
        --o: 1;
    }

    .checkbox-wrapper-14 input[type=checkbox]+label {
        display: inline-block;
        vertical-align: middle;
        cursor: pointer;
        margin-left: 4px;
    }

    .checkbox-wrapper-14 input[type=checkbox]:not(.switch) {
        border-radius: 7px;
    }

    .checkbox-wrapper-14 input[type=checkbox]:not(.switch):after {
        width: 5px;
        height: 9px;
        border: 2px solid var(--active-inner);
        border-top: 0;
        border-left: 0;
        left: 7px;
        top: 4px;
        transform: rotate(var(--r, 20deg));
    }

    .checkbox-wrapper-14 input[type=checkbox]:not(.switch):checked {
        --r: 43deg;
    }

    .checkbox-wrapper-14 input[type=checkbox].switch {
        width: 38px;
        border-radius: 11px;
    }

    .checkbox-wrapper-14 input[type=checkbox].switch:after {
        left: 2px;
        top: 1px;
        border-radius: 50%;
        width: 17px;
        height: 17px;
        background: var(--ab, var(--bs-primary));
        transform: translateX(var(--x, 0));
    }

    .checkbox-wrapper-14 input[type=checkbox].switch:checked {
        --ab: var(--active-inner);
        --x: 17px;
    }

    .checkbox-wrapper-14 input[type=checkbox].switch:disabled:not(:checked):after {
        opacity: 0.6;
    }
}

.checkbox-wrapper-14 * {
    box-sizing: inherit;
}

.checkbox-wrapper-14 *:before,
.checkbox-wrapper-14 *:after {
    box-sizing: inherit;
}

.switch-subscription {
    cursor: pointer;
    top: 1.5rem;
    right: 1.5rem;
}

.card-body {
    overflow-x: auto;
    max-width: 100%;
}

body .form-check {
    display: flex;
    flex-direction: row;
    align-items: center;
}

body .form-check .form-check-label {
    padding-left: 15px;
}

body .form-check.multi-mode {

    flex-direction: column;
    align-items: flex-start;
}

body .form-check .form-check-input#multi_mode {
    float: left;
    margin-left: 0;
    position: absolute;
    left: 0;
    margin-top: 5px;
}

body .form-check .position-relative>textarea {
    display: none;
}

body .form-check .form-check-input#multi_mode:checked~.position-relative>input[type="url"] {
    display: none;
}

body .form-check .form-check-input#multi_mode:checked~.position-relative>textarea {
    display: block;
}

/* Estilos adicionales para el acortador de enlaces */

.multi-mode {
    margin-bottom: 1rem;
}

.stats-card {
    transition: transform 0.2s;
}

.stats-card:hover {
    transform: translateY(-2px);
}

.url-list-item {
    border-left: 4px solid var(--bs-primary);
    transition: all 0.3s ease;
}

.url-list-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-left-color: var(--bs-success);
}

.badge-url {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.countdown-container {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-radius: 10px;
    padding: 20px;
    color: white;
    text-align: center;
}

.link-preview {
    background: #f8f9fa;
    border-radius: 5px;
    padding: 10px;
    margin: 5px 0;
    border-left: 3px solid var(--bs-primary);
}

.multi-link-bridge {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
}

.multi-link-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.loading-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.dashboard-stats {
    background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
    border-radius: 10px;
    color: white;
}

.chart-container {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.advertisement-banner {
    background: linear-gradient(45deg, #ffd89b 0%, #19547b 100%);
    border-radius: 10px;
    color: white;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-floating-custom {
    position: relative;
}

.form-floating-custom input:focus+label,
.form-floating-custom input:not(:placeholder-shown)+label {
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
    color: var(--bs-primary);
}

.custom-border-primary {
    border-color: var(--bs-primary) !important;
}

.hover-scale {
    transition: transform 0.2s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* === PANEL DE CONTROL AVANZADO === */
.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
    color: #6c757d;
    transition: all 0.15s ease-in-out;
}

.nav-tabs .nav-link:hover {
    border-color: #e9ecef #e9ecef #dee2e6;
    isolation: isolate;
    color: #495057;
}

.nav-tabs .nav-link.active {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}

.tab-pane {
    padding: 1rem 0;
}

/* === QR CODE STYLES === */
#qrPreview {
    transition: all 0.3s ease;
}

#qrPreview img {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* === STATS CONTAINERS === */
#countryStats,
#scheduledLinks,
#socialCampaigns,
#abTests,
#apiKeys,
#recentExports,
#activeWebhooks {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

#countryStats .bg-light,
#scheduledLinks .card,
#socialCampaigns .card,
#abTests .card,
#apiKeys .card,
#recentExports .card,
#activeWebhooks .card {
    transition: all 0.2s ease;
}

#countryStats .bg-light:hover,
#scheduledLinks .card:hover,
#socialCampaigns .card:hover,
#abTests .card:hover,
#apiKeys .card:hover,
#recentExports .card:hover,
#activeWebhooks .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* === FORM STYLES === */
.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-range::-webkit-slider-thumb {
    background-color: #0d6efd;
}

.form-range::-moz-range-thumb {
    background-color: #0d6efd;
    border: none;
}

/* === PROGRESS BARS === */
.progress {
    background-color: #e9ecef;
}

.progress-bar {
    background-color: #0d6efd;
    transition: width 0.6s ease;
}

/* === ALERT POSITIONING === */
.alert.position-fixed {
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
}

/* === BADGE VARIATIONS === */
.badge.bg-secondary {
    background-color: #6c757d !important;
}

.badge.bg-primary {
    background-color: #0d6efd !important;
}

.badge.bg-success {
    background-color: #198754 !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

/* === CARD ANIMATIONS === */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* === LOADING STATES === */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #0d6efd;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 768px) {
    .nav-tabs {
        flex-wrap: wrap;
    }

    .nav-tabs .nav-link {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }

    .tab-pane .row .col-md-6 {
        margin-bottom: 1rem;
    }
}

/* === ADVANCED FEATURES ICONS === */
.fa-3x {
    font-size: 3em;
}

.text-muted .fa-3x,
.text-muted .fa-2x {
    opacity: 0.6;
}

/* === API DOCUMENTATION STYLES === */
.alert-info code {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

/* === DARK MODE SUPPORT === */
@media (prefers-color-scheme: dark) {

    #countryStats,
    #scheduledLinks,
    #socialCampaigns,
    #abTests,
    #apiKeys,
    #recentExports,
    #activeWebhooks {
        background: #343a40;
        border-color: #495057;
        color: #f8f9fa;
    }

    .card {
        background-color: #495057;
        border-color: #6c757d;
        color: #f8f9fa;
    }

    .nav-tabs .nav-link {
        color: #adb5bd;
    }

    .nav-tabs .nav-link.active {
        background-color: #495057;
        color: #f8f9fa;
        border-color: #6c757d #6c757d #495057;
    }
}

/* === TOOLTIP ENHANCEMENTS === */
.tooltip {
    font-size: 0.875rem;
}

.tooltip-inner {
    background-color: #212529;
    border-radius: 0.375rem;
}

/* === CHART CONTAINERS === */
canvas {
    max-height: 400px;
}

/* === STICKY ELEMENTS === */
.card-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* === SOCIAL MEDIA COLORS === */
.platform-twitter {
    color: #1da1f2;
}

.platform-facebook {
    color: #4267b2;
}

.platform-linkedin {
    color: #0077b5;
}

.platform-instagram {
    color: #e4405f;
}

/* === ANIMATION UTILITIES === */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

/* === CUSTOM SCROLLBARS === */
#countryStats::-webkit-scrollbar,
#scheduledLinks::-webkit-scrollbar,
#socialCampaigns::-webkit-scrollbar,
#abTests::-webkit-scrollbar,
#apiKeys::-webkit-scrollbar,
#recentExports::-webkit-scrollbar,
#activeWebhooks::-webkit-scrollbar {
    width: 6px;
}

#countryStats::-webkit-scrollbar-track,
#scheduledLinks::-webkit-scrollbar-track,
#socialCampaigns::-webkit-scrollbar-track,
#abTests::-webkit-scrollbar-track,
#apiKeys::-webkit-scrollbar-track,
#recentExports::-webkit-scrollbar-track,
#activeWebhooks::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#countryStats::-webkit-scrollbar-thumb,
#scheduledLinks::-webkit-scrollbar-thumb,
#socialCampaigns::-webkit-scrollbar-thumb,
#abTests::-webkit-scrollbar-thumb,
#apiKeys::-webkit-scrollbar-thumb,
#recentExports::-webkit-scrollbar-thumb,
#activeWebhooks::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

#countryStats::-webkit-scrollbar-thumb:hover,
#scheduledLinks::-webkit-scrollbar-thumb:hover,
#socialCampaigns::-webkit-scrollbar-thumb:hover,
#abTests::-webkit-scrollbar-thumb:hover,
#apiKeys::-webkit-scrollbar-thumb:hover,
#recentExports::-webkit-scrollbar-thumb:hover,
#activeWebhooks::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* === SUCCESS/ERROR STATES === */
.is-valid {
    border-color: #198754;
}

.is-invalid {
    border-color: #dc3545;
}

.valid-feedback {
    color: #198754;
    font-size: 0.875rem;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
}

/* === ADVANCED LAYOUT === */
.advanced-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.advanced-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.advanced-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.alert-info {
    background-color: transparent !important;
    color: #fff !important;
}

.tab-pane label,
.tab-pane button:not(.btn),
.tab-pane input,
.tab-pane select,
.tab-pane textarea,
.tab-pane h6,
.tab-pane p,
.nav-tabs button,
.card h2,
.card p {
    color: #000 !important;
}

.tab-pane .text-center.text-muted p {
    color: #fff !important;
}

/* === CAPTCHA STYLES === */
.captcha-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
}

.captcha-image-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.captcha-container img {
    max-height: 60px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #f8f9fa;
}

.math-captcha-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
}

.math-captcha-container .input-group-text {
    font-weight: bold;
    background-color: #f8f9fa;
    border-color: #dee2e6;
    min-width: 120px;
    text-align: center;
}

.captcha-refresh-btn {
    transition: all 0.2s ease;
}

.captcha-refresh-btn:hover {
    transform: rotate(90deg);
}

/* Captcha en formularios oscuros */
.bg-dark .captcha-container,
.bg-dark .math-captcha-container {
    background: rgba(33, 37, 41, 0.95);
    border-color: #495057;
    color: #f8f9fa;
}

.bg-dark .math-captcha-container .input-group-text {
    background-color: #495057;
    border-color: #6c757d;
    color: #f8f9fa;
}

/* Responsive adjustments para captcha */
@media (max-width: 768px) {
    .captcha-image-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .math-captcha-container .input-group {
        flex-wrap: wrap;
    }

    .math-captcha-container .input-group-text {
        min-width: 100px;
        flex: 1 0 100%;
        margin-bottom: 0.5rem;
        border-radius: 0.375rem;
    }
}

/* Animación de error en captcha */
.captcha-error {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* === END CAPTCHA STYLES === */

/* Advanced CAPTCHA Styles */
.captcha-dragdrop {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    background: #f8f9fa;
}

.captcha-instruction {
    font-weight: 600;
    color: #495057;
    margin-bottom: 15px;
    text-align: center;
}

.drag-source-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    min-height: 60px;
    padding: 10px;
    background: #ffffff;
    border: 2px dashed #dee2e6;
    border-radius: 6px;
}

.drag-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: grab;
    user-select: none;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 50px;
    text-align: center;
}

.drag-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.drag-item:active {
    cursor: grabbing;
    transform: scale(0.95);
}

.drop-target-container {
    display: flex;
    gap: 10px;
    min-height: 60px;
    padding: 10px;
    background: #ffffff;
    border: 2px solid #28a745;
    border-radius: 6px;
}

.drop-slot {
    flex: 1;
    min-height: 50px;
    border: 2px dashed #6c757d;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
    position: relative;
}

.drop-slot.drag-over {
    border-color: #007bff;
    background: #e3f2fd;
    transform: scale(1.05);
}

.drop-slot .dropped-item {
    background: #28a745;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

/* Pattern CAPTCHA */
.captcha-pattern {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    background: #f8f9fa;
    text-align: center;
}

.pattern-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 200px;
    margin: 0 auto;
}

.pattern-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pattern-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.pattern-circle.selected {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    transform: scale(0.9);
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 180px;
    margin: 0 auto;
}

.color-square {
    width: 50px;
    height: 50px;
    border: 3px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-square:hover {
    transform: scale(1.1);
    border-color: #333;
}

.color-square.selected {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.color-blue {
    background-color: #007bff;
}

.color-red {
    background-color: #dc3545;
}

.color-green {
    background-color: #28a745;
}

.color-yellow {
    background-color: #ffc107;
}

/* Audio CAPTCHA */
.captcha-audio {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    background: #f8f9fa;
    text-align: center;
}

.captcha-audio-player {
    width: 100%;
    max-width: 300px;
    margin: 10px 0;
}

/* Rate Limiting Warning */
.rate-limit-warning {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    text-align: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

/* Security Dashboard Styles */
.security-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.security-card .card-title {
    font-weight: 600;
}

.threat-level-critical {
    color: #dc3545 !important;
    font-weight: bold;
}

.threat-level-high {
    color: #fd7e14 !important;
    font-weight: bold;
}

.threat-level-medium {
    color: #ffc107 !important;
    font-weight: bold;
}

.threat-level-low {
    color: #28a745 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .drag-source-container,
    .drop-target-container {
        flex-direction: column;
    }

    .pattern-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .color-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pattern-circle {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
}

/* Loading animations */
.captcha-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.text-muted {
    color: #6c757d !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
a,
span {
    color: inherit;
}

body {
    padding-top: 70px;
}

main {
    min-height: calc(100vh - 160px);
    padding-top: 2rem;
}

.card {
    margin-bottom: 1.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.card-body {
    padding: 1.5rem;
}

.privacy-section p,
.terms-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.table-of-contents ol {
    padding-left: 1.25rem;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
}

.table-of-contents a {
    color: #007bff;
    text-decoration: none;
}

.table-of-contents a:hover {
    text-decoration: underline;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    margin-bottom: 1rem;
}

.form-control {
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
}

.pricing-column {
    margin-bottom: 2rem;
}

.popular-plan {
    transform: scale(1.05);
    border-color: #0d6efd;
}

footer {
    padding: 2rem 0;
    margin-top: 3rem;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
}

footer a:hover {
    color: #fff;
    text-decoration: none;
}

.nav-link {
    padding: 0.5rem 1rem;
}

@media (max-width: 768px) {
    body {
        padding-top: 56px;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .popular-plan {
        transform: none;
    }

    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }
}