/* Optional: Custom switch color */
.form-check-input:checked {
    background-color: #681c7c; /* Bootstrap primary */
    border-color: #681c7c;
}

/* External domain styling */
.external-domain {
    position: relative;
    border: 2px solid #ffc107 !important;
    border-width: 2px !important;
    border-color: #ffc107 !important; /* Bootstrap warning color */
}

    .external-domain::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #ffc107, #fd7e14);
        border-radius: 0.375rem 0.375rem 0 0;
        z-index: 1;
    }

    .external-domain .card-body {
        position: relative;
        z-index: 2;
    }

/* Internal domain styling */
.internal-domain {
    position: relative;
    border: 2px solid #61197C !important;
    border-width: 2px !important;
    border-color: #61197C !important; /* Bootstrap primary color */
}

    .internal-domain::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #61197C, #471160);
        border-radius: 0.375rem 0.375rem 0 0;
        z-index: 1;
    }

    .internal-domain .card-body {
        position: relative;
        z-index: 2;
    }

border-primary {
    border-color: #61197C;
}
/* Ensure all buy/register buttons have consistent styling */
.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
    font-weight: 500;
}

    .btn-warning:hover {
        background-color: #e0a800;
        border-color: #d39e00;
        color: #000;
        transform: translateY(-1px);
        transition: all 0.2s ease;
    }

    .btn-warning:focus {
        box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
    }


.btn-buynow {
    background-color: #000;
    border-color: #5C5C5C;
    color: #fff;
    font-weight: 500;
}

    .btn-buynow:hover {
        background-color: #61197C;
        border-color: #000;
        color: #fff;
        transform: translateY(-1px);
        transition: all 0.2s ease;
    }

    .btn-buynow:focus {
        box-shadow: 0 0 0 0.2rem rgba(97, 25, 124, 0.5);
    }
/* Badge positioning and styling */
.badge.position-absolute {
    top: 0.5rem !important;
    left: 0.5rem !important;
    font-size: 0.75rem;
    z-index: 10;
    border-radius: 0.375rem;
    padding: 0.375rem 0.5rem;
    font-weight: 600;
}

/* Card hover effects */
.card {
    transition: all 0.3s ease;
}

    .card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .external-domain::before,
    .internal-domain::before {
        height: 3px;
    }

    .badge.position-absolute {
        font-size: 0.7rem;
        padding: 0.25rem 0.4rem;
    }
}




/*Start Progress*/
/* Add this CSS to your existing CSS file or in a <style> tag */

/* Progress indicator overlay */
.progress-overlay {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Custom spinner animation */
.search-spinner {
    width: 3rem;
    height: 3rem;
    border: 4px solid #e3f2fd;
    border-top: 4px solid #2196f3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Progress text styling */
.progress-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2196f3;
}

.progress-subtext {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Fade in animation for results */
.domain-results {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* UpdateProgress container styling */
.update-progress-container {
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    margin: 20px 0;
}

/* Loading dots animation */
.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
    0%, 20% {
        content: '';
    }

    40% {
        content: '.';
    }

    60% {
        content: '..';
    }

    80%, 100% {
        content: '...';
    }
}
/*End Progress*/