/* Social Media Username Checker - Modern Styles */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes backgroundShift {
    0%, 100% { 
        transform: translateX(0) translateY(0); 
    }
    33% { 
        transform: translateX(-10px) translateY(-10px); 
    }
    66% { 
        transform: translateX(10px) translateY(10px); 
    }
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out;
}

.animate-delay-200 {
    animation-delay: 0.2s;
}

.animate-delay-400 {
    animation-delay: 0.4s;
}

.hero-bg {
    background: #f8fafc;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
}

.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
}

.checker-card {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.equal-height {
    display: flex;
    flex-wrap: wrap;
}

.vertical-center {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.twitter_result_box {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.twitter_result_box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.tools-content-box {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 2rem;
}

.tools-content-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.related-page-box {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 1rem;
}

.related-page-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.related-page-link {
    text-decoration: none;
    color: inherit;
    display: block;
    text-align: center;
}

.related-page-link:hover {
    text-decoration: none;
    color: inherit;
}

.related-page-link i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.accordion-item {
    background: white;
    border-radius: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.accordion-header {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 1.5rem;
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
    font-weight: 600;
    color: #374151;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #f8fafc 100%);
}

.accordion-content {
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: none;
}

.rechecktool_button a {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.rechecktool_button a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    color: white;
}

.before-reach {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    margin: 2rem auto;
    max-width: 600px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.reach-limit {
    text-align: center;
    padding: 2rem;
    background: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 1rem;
    margin: 2rem auto;
    max-width: 600px;
    color: #991b1b;
    font-weight: 600;
}

.hm-list {
    list-style: none;
    padding: 0;
}

.hm-list li {
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.hm-list li b {
    color: #374151;
    font-weight: 700;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: #6b7280;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #374151;
}

.btn_sample_format {
    color: #667eea;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 0.5rem;
}

.validate_text {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.preloader {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

/* Platform specific colors */
.platform-twitter { color: #1da1f2; }
.platform-instagram { color: #e4405f; }
.platform-tiktok { color: #000000; }
.platform-twitch { color: #9146ff; }
.platform-pinterest { color: #bd081c; }
.platform-facebook { color: #1877f2; }

/* Modern button styles */
.modern-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 0.75rem;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.modern-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Custom Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 1rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    display: flex;
}

.modal-overlay.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.modal-body {
    padding: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

/* Platform selection styles */
.platform-checkbox:checked + div {
    color: #1f2937;
}

.platform-checkbox {
    appearance: none;
    width: 1rem;
    height: 1rem;
    border: 2px solid #d1d5db;
    border-radius: 0.25rem;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.platform-checkbox:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.platform-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
}

.platform-checkbox:hover {
    border-color: #6b7280;
}

.platform-checkbox:focus {
    outline: none;
    ring: 2px;
    ring-color: #3b82f6;
    ring-opacity: 0.5;
}

/* Platform selection container hover effects */
label:has(.platform-checkbox:checked) {
    border-color: #3b82f6 !important;
    background-color: #eff6ff !important;
}

label:has(.platform-checkbox) {
    transition: all 0.2s ease;
}

/* Hide individual "Check another Handle" buttons in result boxes */
.twitter_result a[href*="social-media-username-checker.php"],
.twitch_result a[href*="social-media-username-checker.php"],
.tiktok_result a[href*="social-media-username-checker.php"],
.instagram_result a[href*="social-media-username-checker.php"],
.pinterest_result a[href*="social-media-username-checker.php"],
.facebook_result a[href*="social-media-username-checker.php"],
.rechecktool_button,
.twitter_result a[class*="rechecktool"],
.twitch_result a[class*="rechecktool"],
.tiktok_result a[class*="rechecktool"],
.instagram_result a[class*="rechecktool"],
.pinterest_result a[class*="rechecktool"],
.facebook_result a[class*="rechecktool"],
.twitter_result a[href*="check"],
.twitch_result a[href*="check"],
.tiktok_result a[href*="check"],
.instagram_result a[href*="check"],
.pinterest_result a[href*="check"],
.facebook_result a[href*="check"] {
    display: none !important;
}

/* Show only buttons that are NOT "Check Another Handle" */
.twitter_result a[href*="signup.php"],
.twitch_result a[href*="signup.php"],
.tiktok_result a[href*="signup.php"],
.instagram_result a[href*="signup.php"],
.pinterest_result a[href*="signup.php"],
.facebook_result a[href*="signup.php"],
.twitter_result a[href*="twitter.com"],
.twitch_result a[href*="twitch.tv"],
.tiktok_result a[href*="tiktok.com"],
.instagram_result a[href*="instagram.com"],
.pinterest_result a[href*="pinterest.com"],
.facebook_result a[href*="facebook.com"] {
    display: inline-flex !important;
}

/* GREEN BUTTONS - Register Your Handle buttons (links to platform sites) */
.twitter_result a[href*="twitter.com"],
.twitch_result a[href*="twitch.tv"],
.tiktok_result a[href*="tiktok.com"],
.instagram_result a[href*="instagram.com"],
.pinterest_result a[href*="pinterest.com"],
.facebook_result a[href*="facebook.com"],
.twitter_result .register-btn,
.twitch_result .register-btn,
.tiktok_result .register-btn,
.instagram_result .register-btn,
.pinterest_result .register-btn,
.facebook_result .register-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: none !important;
    color: white !important;
    text-decoration: none !important;
    padding: 12px 24px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
}

.twitter_result a[href*="twitter.com"]:hover,
.twitch_result a[href*="twitch.tv"]:hover,
.tiktok_result a[href*="tiktok.com"]:hover,
.instagram_result a[href*="instagram.com"]:hover,
.pinterest_result a[href*="pinterest.com"]:hover,
.facebook_result a[href*="facebook.com"]:hover,
.twitter_result .register-btn:hover,
.twitch_result .register-btn:hover,
.tiktok_result .register-btn:hover,
.instagram_result .register-btn:hover,
.pinterest_result .register-btn:hover,
.facebook_result .register-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4) !important;
    color: white !important;
}

/* BLUE BUTTONS - Monitor This Handle buttons (links to signup.php) */
.twitter_result a[href*="signup.php"],
.twitch_result a[href*="signup.php"],
.tiktok_result a[href*="signup.php"],
.instagram_result a[href*="signup.php"],
.pinterest_result a[href*="signup.php"],
.facebook_result a[href*="signup.php"],
.twitter_result .monitor-btn,
.twitch_result .monitor-btn,
.tiktok_result .monitor-btn,
.instagram_result .monitor-btn,
.pinterest_result .monitor-btn,
.facebook_result .monitor-btn,
.twitter_result .brm-btn,
.twitch_result .brm-btn,
.tiktok_result .brm-btn,
.instagram_result .brm-btn,
.pinterest_result .brm-btn,
.facebook_result .brm-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    color: white !important;
    text-decoration: none !important;
    padding: 12px 24px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
}

.twitter_result a[href*="signup.php"]:hover,
.twitch_result a[href*="signup.php"]:hover,
.tiktok_result a[href*="signup.php"]:hover,
.instagram_result a[href*="signup.php"]:hover,
.pinterest_result a[href*="signup.php"]:hover,
.facebook_result a[href*="signup.php"]:hover,
.twitter_result .monitor-btn:hover,
.twitch_result .monitor-btn:hover,
.tiktok_result .monitor-btn:hover,
.instagram_result .monitor-btn:hover,
.pinterest_result .monitor-btn:hover,
.facebook_result .monitor-btn:hover,
.twitter_result .brm-btn:hover,
.twitch_result .brm-btn:hover,
.tiktok_result .brm-btn:hover,
.instagram_result .brm-btn:hover,
.pinterest_result .brm-btn:hover,
.facebook_result .brm-btn:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4) !important;
    color: white !important;
}

/* FALLBACK STYLING - Other buttons use blue theme by default */
.twitter_result .modern-btn,
.twitch_result .modern-btn,
.tiktok_result .modern-btn,
.instagram_result .modern-btn,
.pinterest_result .modern-btn,
.facebook_result .modern-btn,
.twitter_result .btn,
.twitch_result .btn,
.tiktok_result .btn,
.instagram_result .btn,
.pinterest_result .btn,
.facebook_result .btn,
.twitter_result a[class*="btn"]:not([href*="twitter.com"]):not([href*="twitch.tv"]):not([href*="tiktok.com"]):not([href*="instagram.com"]):not([href*="pinterest.com"]):not([href*="facebook.com"]),
.twitch_result a[class*="btn"]:not([href*="twitter.com"]):not([href*="twitch.tv"]):not([href*="tiktok.com"]):not([href*="instagram.com"]):not([href*="pinterest.com"]):not([href*="facebook.com"]),
.tiktok_result a[class*="btn"]:not([href*="twitter.com"]):not([href*="twitch.tv"]):not([href*="tiktok.com"]):not([href*="instagram.com"]):not([href*="pinterest.com"]):not([href*="facebook.com"]),
.instagram_result a[class*="btn"]:not([href*="twitter.com"]):not([href*="twitch.tv"]):not([href*="tiktok.com"]):not([href*="instagram.com"]):not([href*="pinterest.com"]):not([href*="facebook.com"]),
.pinterest_result a[class*="btn"]:not([href*="twitter.com"]):not([href*="twitch.tv"]):not([href*="tiktok.com"]):not([href*="instagram.com"]):not([href*="pinterest.com"]):not([href*="facebook.com"]),
.facebook_result a[class*="btn"]:not([href*="twitter.com"]):not([href*="twitch.tv"]):not([href*="tiktok.com"]):not([href*="instagram.com"]):not([href*="pinterest.com"]):not([href*="facebook.com"]),
.twitter_result .button_su_inner,
.twitch_result .button_su_inner,
.tiktok_result .button_su_inner,
.instagram_result .button_su_inner,
.pinterest_result .button_su_inner,
.facebook_result .button_su_inner,
.twitter_result .addtocart_btn,
.twitch_result .addtocart_btn,
.tiktok_result .addtocart_btn,
.instagram_result .addtocart_btn,
.pinterest_result .addtocart_btn,
.facebook_result .addtocart_btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    color: white !important;
    text-decoration: none !important;
    padding: 12px 24px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
}

.twitter_result .modern-btn:hover,
.twitch_result .modern-btn:hover,
.tiktok_result .modern-btn:hover,
.instagram_result .modern-btn:hover,
.pinterest_result .modern-btn:hover,
.facebook_result .modern-btn:hover,
.twitter_result .btn:hover,
.twitch_result .btn:hover,
.tiktok_result .btn:hover,
.instagram_result .btn:hover,
.pinterest_result .btn:hover,
.facebook_result .btn:hover,
.twitter_result a[class*="btn"]:not([href*="twitter.com"]):not([href*="twitch.tv"]):not([href*="tiktok.com"]):not([href*="instagram.com"]):not([href*="pinterest.com"]):not([href*="facebook.com"]):hover,
.twitch_result a[class*="btn"]:not([href*="twitter.com"]):not([href*="twitch.tv"]):not([href*="tiktok.com"]):not([href*="instagram.com"]):not([href*="pinterest.com"]):not([href*="facebook.com"]):hover,
.tiktok_result a[class*="btn"]:not([href*="twitter.com"]):not([href*="twitch.tv"]):not([href*="tiktok.com"]):not([href*="instagram.com"]):not([href*="pinterest.com"]):not([href*="facebook.com"]):hover,
.instagram_result a[class*="btn"]:not([href*="twitter.com"]):not([href*="twitch.tv"]):not([href*="tiktok.com"]):not([href*="instagram.com"]):not([href*="pinterest.com"]):not([href*="facebook.com"]):hover,
.pinterest_result a[class*="btn"]:not([href*="twitter.com"]):not([href*="twitch.tv"]):not([href*="tiktok.com"]):not([href*="instagram.com"]):not([href*="pinterest.com"]):not([href*="facebook.com"]):hover,
.facebook_result a[class*="btn"]:not([href*="twitter.com"]):not([href*="twitch.tv"]):not([href*="tiktok.com"]):not([href*="instagram.com"]):not([href*="pinterest.com"]):not([href*="facebook.com"]):hover,
.twitter_result .button_su_inner:hover,
.twitch_result .button_su_inner:hover,
.tiktok_result .button_su_inner:hover,
.instagram_result .button_su_inner:hover,
.pinterest_result .button_su_inner:hover,
.facebook_result .button_su_inner:hover,
.twitter_result .addtocart_btn:hover,
.twitch_result .addtocart_btn:hover,
.tiktok_result .addtocart_btn:hover,
.instagram_result .addtocart_btn:hover,
.pinterest_result .addtocart_btn:hover,
.facebook_result .addtocart_btn:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4) !important;
    color: white !important;
}

/* Results in form section styling */
.results-in-form {
    margin-top: 2rem;
    display: none;
}

.results-in-form.show {
    display: block;
}

/* 2-column grid layout for result boxes */
.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.result-platform-box {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    height: fit-content;
}

.result-platform-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: #374151;
}

/* Spinner for loading states */
.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .vertical-center {
        min-height: 250px;
    }
    
    .twitter_result_box {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .twitter_result_box p {
        font-size: 24px !important;
    }
    
    .tools-content-box {
        margin-bottom: 1rem;
    }
    
    /* Mobile platform selection */
    .platform-checkbox {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .platform-checkbox:checked::after {
        font-size: 0.875rem;
    }

    .result-platform-box {
        padding: 1rem;
    }

    .result-platform-title {
        font-size: 1.1rem;
    }

    /* Single column layout on mobile */
    .results-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
} 

/* Override any platform-specific button colors with appropriate theme colors */
.twitter_result [style*="background"],
.twitch_result [style*="background"],
.tiktok_result [style*="background"],
.instagram_result [style*="background"],
.pinterest_result [style*="background"],
.facebook_result [style*="background"],
.result-platform-box [style*="background"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Green override for register buttons */
.twitter_result a[href*="twitter.com"][style*="background"],
.twitch_result a[href*="twitch.tv"][style*="background"],
.tiktok_result a[href*="tiktok.com"][style*="background"],
.instagram_result a[href*="instagram.com"][style*="background"],
.pinterest_result a[href*="pinterest.com"][style*="background"],
.facebook_result a[href*="facebook.com"][style*="background"] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

/* Ensure all clickable elements in result boxes follow appropriate theme color */
.twitter_result *[class*="button"]:not([href*="twitter.com"]):not([href*="twitch.tv"]):not([href*="tiktok.com"]):not([href*="instagram.com"]):not([href*="pinterest.com"]):not([href*="facebook.com"]),
.twitch_result *[class*="button"]:not([href*="twitter.com"]):not([href*="twitch.tv"]):not([href*="tiktok.com"]):not([href*="instagram.com"]):not([href*="pinterest.com"]):not([href*="facebook.com"]),
.tiktok_result *[class*="button"]:not([href*="twitter.com"]):not([href*="twitch.tv"]):not([href*="tiktok.com"]):not([href*="instagram.com"]):not([href*="pinterest.com"]):not([href*="facebook.com"]),
.instagram_result *[class*="button"]:not([href*="twitter.com"]):not([href*="twitch.tv"]):not([href*="tiktok.com"]):not([href*="instagram.com"]):not([href*="pinterest.com"]):not([href*="facebook.com"]),
.pinterest_result *[class*="button"]:not([href*="twitter.com"]):not([href*="twitch.tv"]):not([href*="tiktok.com"]):not([href*="instagram.com"]):not([href*="pinterest.com"]):not([href*="facebook.com"]),
.facebook_result *[class*="button"]:not([href*="twitter.com"]):not([href*="twitch.tv"]):not([href*="tiktok.com"]):not([href*="instagram.com"]):not([href*="pinterest.com"]):not([href*="facebook.com"]),
.twitter_result *[class*="link"]:not([href*="twitter.com"]):not([href*="twitch.tv"]):not([href*="tiktok.com"]):not([href*="instagram.com"]):not([href*="pinterest.com"]):not([href*="facebook.com"]),
.twitch_result *[class*="link"]:not([href*="twitter.com"]):not([href*="twitch.tv"]):not([href*="tiktok.com"]):not([href*="instagram.com"]):not([href*="pinterest.com"]):not([href*="facebook.com"]),
.tiktok_result *[class*="link"]:not([href*="twitter.com"]):not([href*="twitch.tv"]):not([href*="tiktok.com"]):not([href*="instagram.com"]):not([href*="pinterest.com"]):not([href*="facebook.com"]),
.instagram_result *[class*="link"]:not([href*="twitter.com"]):not([href*="twitch.tv"]):not([href*="tiktok.com"]):not([href*="instagram.com"]):not([href*="pinterest.com"]):not([href*="facebook.com"]),
.pinterest_result *[class*="link"]:not([href*="twitter.com"]):not([href*="twitch.tv"]):not([href*="tiktok.com"]):not([href*="instagram.com"]):not([href*="pinterest.com"]):not([href*="facebook.com"]),
.facebook_result *[class*="link"]:not([href*="twitter.com"]):not([href*="twitch.tv"]):not([href*="tiktok.com"]):not([href*="instagram.com"]):not([href*="pinterest.com"]):not([href*="facebook.com"]) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border: none !important;
}

/* Green styling for register button elements */
.twitter_result *[class*="button"][href*="twitter.com"],
.twitch_result *[class*="button"][href*="twitch.tv"],
.tiktok_result *[class*="button"][href*="tiktok.com"],
.instagram_result *[class*="button"][href*="instagram.com"],
.pinterest_result *[class*="button"][href*="pinterest.com"],
.facebook_result *[class*="button"][href*="facebook.com"],
.twitter_result *[class*="link"][href*="twitter.com"],
.twitch_result *[class*="link"][href*="twitch.tv"],
.tiktok_result *[class*="link"][href*="tiktok.com"],
.instagram_result *[class*="link"][href*="instagram.com"],
.pinterest_result *[class*="link"][href*="pinterest.com"],
.facebook_result *[class*="link"][href*="facebook.com"] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    border: none !important;
} 

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.floating-shape:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

/* Platform Selection Styles */
.platform-option {
    transition: all 0.3s ease;
}

.platform-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.platform-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #8b5cf6;
}

.platform-option.border-blue-300 {
    border-color: #93c5fd;
    background-color: #eff6ff;
}

.platform-option.border-blue-300:hover {
    border-color: #60a5fa;
    background-color: #dbeafe;
}

/* Spinner and Loading Styles */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #8b5cf6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Results Container Styles */
.results-in-form {
    margin-top: 2rem;
}

.results-in-form.show {
    display: block;
}

/* Enhanced Results Grid Styling */
.results-in-form .grid {
    gap: 1.5rem;
}

.results-in-form .grid > div {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.results-in-form .grid > div > div {
    width: 100%;
}

/* Enhanced result container styling */
.twitter-result-container,
.instagram-result-container,
.tiktok-result-container,
.twitch-result-container,
.pinterest-result-container,
.facebook-result-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.twitter-result-container:hover,
.instagram-result-container:hover,
.tiktok-result-container:hover,
.twitch-result-container:hover,
.pinterest-result-container:hover,
.facebook-result-container:hover {
    border-color: #8b5cf6;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.15);
}

/* Platform-specific accent colors */
.twitter-result-container {
    border-left: 4px solid #1da1f2;
}

.instagram-result-container {
    border-left: 4px solid #e4405f;
}

.tiktok-result-container {
    border-left: 4px solid #000000;
}

.twitch-result-container {
    border-left: 4px solid #9146ff;
}

.pinterest-result-container {
    border-left: 4px solid #bd081c;
}

.facebook-result-container {
    border-left: 4px solid #1877f2;
}

/* Result content styling */
.twitter_result,
.instagram_result,
.tiktok_result,
.twitch_result,
.pinterest_result,
.facebook_result {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Success and error state styling */
.result-success {
    background-color: #f0fdf4 !important;
    color: #166534 !important;
    border: 1px solid #bbf7d0 !important;
}

.result-error {
    background-color: #fef2f2 !important;
    color: #dc2626 !important;
    border: 1px solid #fecaca !important;
}

/* Responsive adjustments for 2-column layout */
@media (max-width: 768px) {
    .results-in-form .grid {
        gap: 1rem;
    }
    
    .results-in-form .grid > div {
        min-height: 180px;
    }
    
    .results-in-form .grid > div {
        padding: 1rem;
    }
    .floating-shapes{display: none !important;}
}

/* Sample Format Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0.25rem;
}

.modal-close:hover {
    color: #374151;
}

.btn_sample_format {
    color: #8b5cf6;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

.btn_sample_format:hover {
    color: #7c3aed;
}
.accordion-content{max-height: auto !important;}
.floating-shapes{display: none !important;}