/* Global Styles for LinkVerse Theme */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9fafb;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Fallback styles for when TailwindCSS doesn't load */
.hero {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 32px;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.hero button {
    background: white;
    color: #2563eb;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.hero button:hover {
    background-color: #f3f4f6;
}

/* Section styles */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: #f9fafb;
}

/* Grid layouts */
.grid {
    display: grid;
    gap: 32px;
}

@media (min-width: 768px) {
    .md\\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .md\\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .md\\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Card styles */
.bg-white {
    background-color: white;
}

.p-8 {
    padding: 32px;
}

.rounded-lg {
    border-radius: 8px;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.border {
    border: 1px solid #e5e7eb;
}

/* Button styles */
.bg-blue-600 {
    background-color: #2563eb;
}

.text-white {
    color: white;
}

.px-8 {
    padding-left: 32px;
    padding-right: 32px;
}

.py-3 {
    padding-top: 12px;
    padding-bottom: 12px;
}

.rounded-lg {
    border-radius: 8px;
}

.font-semibold {
    font-weight: 600;
}

.hover\\:bg-blue-700:hover {
    background-color: #1d4ed8;
}

.transition {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* Text styles */
.text-center {
    text-align: center;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-xl {
    font-size: 1.25rem;
}

.font-bold {
    font-weight: 700;
}

.mb-16 {
    margin-bottom: 64px;
}

.mb-8 {
    margin-bottom: 32px;
}

.mb-6 {
    margin-bottom: 24px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 12px;
}

/* Dashboard specific styles */
.min-h-screen {
    min-height: 100vh;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.flex {
    display: flex;
}

.w-64 {
    width: 16rem;
}

.bg-white {
    background-color: white;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.min-h-screen {
    min-height: 100vh;
}

.flex-1 {
    flex: 1 1 0%;
}

/* Header and Navigation */
.site-header {
    background-color: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid #e5e7eb;
}

.site-title a {
    color: #1f2937;
    text-decoration: none;
}

.site-title a:hover {
    color: #2563eb;
}

.main-navigation a {
    text-decoration: none;
    color: #6b7280;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: #111827;
}

/* Footer */
.site-footer {
    background-color: #1f2937;
    color: white;
    padding: 48px 0;
}

.site-footer h3,
.site-footer h4 {
    color: white;
    margin-bottom: 16px;
}

.site-footer a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: white;
}

/* Additional utility classes */
.p-6 {
    padding: 24px;
}

.p-4 {
    padding: 16px;
}

.px-4 {
    padding-left: 16px;
    padding-right: 16px;
}

.py-4 {
    padding-top: 16px;
    padding-bottom: 16px;
}

.py-2 {
    padding-top: 8px;
    padding-bottom: 8px;
}

.px-3 {
    padding-left: 12px;
    padding-right: 12px;
}

.py-2 {
    padding-top: 8px;
    padding-bottom: 8px;
}

.mt-6 {
    margin-top: 24px;
}

.mt-8 {
    margin-top: 32px;
}

.mr-4 {
    margin-right: 16px;
}

.mr-3 {
    margin-right: 12px;
}

.ml-4 {
    margin-left: 16px;
}

.ml-auto {
    margin-left: auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.w-full {
    width: 100%;
}

.h-16 {
    height: 4rem;
}

.h-12 {
    height: 3rem;
}

.w-16 {
    width: 4rem;
}

.w-12 {
    width: 3rem;
}

.space-y-2 > * + * {
    margin-top: 8px;
}

.space-y-3 > * + * {
    margin-top: 12px;
}

.space-y-4 > * + * {
    margin-top: 16px;
}

.space-y-6 > * + * {
    margin-top: 24px;
}

.space-y-8 > * + * {
    margin-top: 32px;
}

.space-x-8 > * + * {
    margin-left: 32px;
}

.border-b {
    border-bottom: 1px solid #e5e7eb;
}

.border-t {
    border-top: 1px solid #e5e7eb;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.border-gray-300 {
    border-color: #d1d5db;
}

.border-gray-700 {
    border-color: #374151;
}

.border-2 {
    border-width: 2px;
}

.border-dashed {
    border-style: dashed;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-gray-300 {
    background-color: #d1d5db;
}

.bg-blue-100 {
    background-color: #dbeafe;
}

.bg-green-100 {
    background-color: #dcfce7;
}

.bg-yellow-100 {
    background-color: #fef3c7;
}

.bg-purple-100 {
    background-color: #f3e8ff;
}

.bg-green-400 {
    background-color: #4ade80;
}

.bg-blue-400 {
    background-color: #60a5fa;
}

.bg-yellow-400 {
    background-color: #fbbf24;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-500 {
    color: #6b7280;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-800 {
    color: #1f2937;
}

.text-gray-900 {
    color: #111827;
}

.text-blue-600 {
    color: #2563eb;
}

.text-green-600 {
    color: #16a34a;
}

.text-green-800 {
    color: #166534;
}

.text-red-600 {
    color: #dc2626;
}

.text-red-900 {
    color: #991b1b;
}

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-5xl {
    font-size: 3rem;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.leading-5 {
    line-height: 1.25rem;
}

.whitespace-nowrap {
    white-space: nowrap;
}

.overflow-x-auto {
    overflow-x: auto;
}

.divide-y > * + * {
    border-top: 1px solid #e5e7eb;
}

.divide-gray-200 > * + * {
    border-top-color: #e5e7eb;
}

.inline-flex {
    display: inline-flex;
}

.rounded-full {
    border-radius: 9999px;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.border-2 {
    border-width: 2px;
}

.border-blue-600 {
    border-color: #2563eb;
}

/* Form elements */
input[type="url"],
input[type="text"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="url"]:focus,
input[type="text"]:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 12px 24px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    background-color: #f9fafb;
}

td {
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
}

/* Responsive utilities */
@media (max-width: 768px) {
    .hidden {
        display: none;
    }
    
    .md\\:hidden {
        display: block;
    }
    
    .md\\:grid-cols-2,
    .md\\:grid-cols-3,
    .md\\:grid-cols-4 {
        grid-template-columns: 1fr;
    }
    
    .w-64 {
        width: 100%;
    }
    
    .flex {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

/* Add your custom styles here */

/* Withdrawal form warning colors */
.bg-yellow-100 {
    background-color: #fef3c7;
}

.border-yellow-400 {
    border-color: #fbbf24;
}

.text-yellow-700 {
    color: #a16207;
}

.bg-orange-100 {
    background-color: #ffedd5;
}

.border-orange-400 {
    border-color: #fb923c;
}

.text-orange-700 {
    color: #c2410c;
}

/* LinkVerse Redirect Page Plugin Integration Styles */

/* Base redirect page styles */
.linkverse-redirect {
    position: relative;
}

/* Template variation styles */
.linkverse-template-default {
    /* Default template - uses existing styles */
}

.linkverse-template-minimal {
    /* Minimal template - cleaner, simpler design */
}

.linkverse-template-minimal .redirect-card {
    padding: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.linkverse-template-minimal .countdown-circle {
    width: 5rem;
    height: 5rem;
}

.linkverse-template-premium {
    /* Premium template - enhanced visual appeal */
}

.linkverse-template-premium .redirect-card {
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 2px solid #3b82f6;
}

.linkverse-template-premium .countdown-circle {
    width: 7rem;
    height: 7rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.linkverse-template-custom {
    /* Custom template - plugin controlled styling */
}

/* Content injection area styles */
.linkverse-content-above-countdown,
.linkverse-content-below-countdown,
.linkverse-main-content {
    min-height: 20px;
}

.linkverse-content-above-countdown:empty,
.linkverse-content-below-countdown:empty,
.linkverse-main-content:empty {
    display: none;
}

/* Plugin content styling */
.linkverse-content-above-countdown .ad-container,
.linkverse-content-below-countdown .ad-container,
.linkverse-main-content .ad-container {
    margin: 1rem 0;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    text-align: center;
}

.linkverse-content-above-countdown .promotional-content,
.linkverse-content-below-countdown .promotional-content,
.linkverse-main-content .promotional-content {
    margin: 1rem 0;
    padding: 1rem;
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 0.5rem;
}

/* Responsive adjustments for plugin content */
@media (max-width: 768px) {
    .linkverse-template-premium .redirect-card {
        padding: 1.5rem;
    }
    
    .linkverse-template-premium .countdown-circle {
        width: 5rem;
        height: 5rem;
    }
    
    .linkverse-content-above-countdown,
    .linkverse-content-below-countdown,
    .linkverse-main-content {
        margin: 1rem 0;
    }
}

/* LinkVerse Registration and Login Form Styles */

/* Form container styles */
.linkverse-register-form,
.linkverse-login-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Form input styles */
.linkverse-register-form input[type="text"],
.linkverse-register-form input[type="email"],
.linkverse-register-form input[type="password"],
.linkverse-login-form input[type="text"],
.linkverse-login-form input[type="email"],
.linkverse-login-form input[type="password"] {
    background: white;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.linkverse-register-form input:focus,
.linkverse-login-form input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

/* Form button styles */
.linkverse-register-form button[type="submit"],
.linkverse-login-form button[type="submit"],
#linkverse-register-form button[type="submit"],
#linkverse-login-form button[type="submit"] {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    color: white !important;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.linkverse-register-form button[type="submit"]:hover,
.linkverse-login-form button[type="submit"]:hover,
#linkverse-register-form button[type="submit"]:hover,
#linkverse-login-form button[type="submit"]:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
}

/* Checkbox styles */
.linkverse-register-form input[type="checkbox"],
.linkverse-login-form input[type="checkbox"] {
    accent-color: #3b82f6;
    transform: scale(1.2);
}

/* Terms and conditions text styling */
.linkverse-register-form .terms-text,
#linkverse-register-form .terms-text {
    color: #e0e7ff !important;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    line-height: 1.5;
}

/* Make the checkbox label text more visible */
.linkverse-register-form label[for="terms"],
#linkverse-register-form label[for="terms"] {
    color: #e0e7ff !important;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    user-select: none;
}

/* Link styles */
.linkverse-register-form a,
.linkverse-login-form a,
#linkverse-register-form a,
#linkverse-login-form a {
    color: #93c5fd !important;
    text-decoration: none;
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

.linkverse-register-form a:hover,
.linkverse-login-form a:hover,
#linkverse-register-form a:hover,
#linkverse-login-form a:hover {
    color: white !important;
    text-decoration: underline;
}

/* Terms and Privacy Policy links - make them more prominent */
.linkverse-register-form a[href*="terms"],
.linkverse-register-form a[href*="privacy"],
#linkverse-register-form a[href*="terms"],
#linkverse-register-form a[href*="privacy"] {
    color: #60a5fa !important;
    font-weight: 700;
    text-decoration: underline;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.linkverse-register-form a[href*="terms"]:hover,
.linkverse-register-form a[href*="privacy"]:hover,
#linkverse-register-form a[href*="terms"]:hover,
#linkverse-register-form a[href*="privacy"]:hover {
    color: #ffffff !important;
    text-decoration: underline;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Form validation styles */
.linkverse-form-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    font-size: 0.875rem;
}

.linkverse-form-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    font-size: 0.875rem;
}

.linkverse-form-warning {
    background: #fffbeb;
    border: 1px solid #fed7aa;
    color: #d97706;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    font-size: 0.875rem;
}

/* Form field error states */
.linkverse-field-error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.linkverse-field-error-message {
    color: #dc2626;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: block;
}

/* Loading states */
.linkverse-form-loading {
    opacity: 0.7;
    pointer-events: none;
}

.linkverse-button-loading {
    position: relative;
    color: transparent;
}

.linkverse-button-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1rem;
    height: 1rem;
    margin: -0.5rem 0 0 -0.5rem;
    border: 2px solid #3b82f6;
    border-top-color: transparent;
    border-radius: 50%;
    animation: linkverse-spin 1s linear infinite;
}

@keyframes linkverse-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive form adjustments */
@media (max-width: 640px) {
    .linkverse-register-form,
    .linkverse-login-form,
    #linkverse-register-form,
    #linkverse-login-form {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .linkverse-register-form button[type="submit"],
    .linkverse-login-form button[type="submit"],
    #linkverse-register-form button[type="submit"],
    #linkverse-login-form button[type="submit"] {
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }
}

/* Form accessibility improvements */
.linkverse-register-form label,
.linkverse-login-form label,
#linkverse-register-form label,
#linkverse-login-form label {
    cursor: pointer;
    user-select: none;
    color: white !important;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.linkverse-register-form input:focus + label,
.linkverse-login-form input:focus + label,
#linkverse-register-form input:focus + label,
#linkverse-login-form input:focus + label {
    color: #93c5fd !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .linkverse-register-form input,
    .linkverse-login-form input,
    #linkverse-register-form input,
    #linkverse-login-form input {
        border-width: 3px;
    }
    
    .linkverse-register-form button[type="submit"],
    .linkverse-login-form button[type="submit"],
    #linkverse-register-form button[type="submit"],
    #linkverse-login-form button[type="submit"] {
        border: 2px solid white;
    }
}

/* Additional form text visibility fixes */
#linkverse-register-form p,
#linkverse-login-form p,
#linkverse-register-form .text-sm,
#linkverse-login-form .text-sm {
    color: #e0e7ff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

#linkverse-register-form .text-blue-100,
#linkverse-login-form .text-blue-100 {
    color: #e0e7ff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

#linkverse-register-form .text-blue-200,
#linkverse-login-form .text-blue-200 {
    color: #93c5fd !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Ensure form elements are properly visible */
#linkverse-register-form,
#linkverse-login-form {
    color: white;
}

#linkverse-register-form input,
#linkverse-login-form input {
    color: #1f2937 !important;
    background: white !important;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

#linkverse-register-form input:focus,
#linkverse-login-form input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

/* LinkVerse Already Logged In Message Styles */

.linkverse-already-logged-in {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #3b82f6;
    color: #1e293b;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.linkverse-already-logged-in::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.linkverse-already-logged-in p {
    margin: 0 0 1rem 0;
    line-height: 1.6;
    color: #1e293b !important;
    text-shadow: none;
}

.linkverse-already-logged-in p:first-child {
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #1e40af !important;
}

.linkverse-already-logged-in p:nth-child(2) {
    color: #475569 !important;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.linkverse-already-logged-in a {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white !important;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.linkverse-already-logged-in a:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4);
    border-color: #60a5fa;
}

/* Responsive adjustments for already logged in message */
@media (max-width: 640px) {
    .linkverse-already-logged-in {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .linkverse-already-logged-in a {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
}

/* Animation for the already logged in message */
@keyframes linkverse-slide-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.linkverse-already-logged-in {
    animation: linkverse-slide-in 0.3s ease-out;
}

/* Hide auth navigation links when user is logged in */
.linkverse-auth-links {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Ensure the already logged in message is always visible */
.linkverse-already-logged-in {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Mobile Menu Styles */
#mobile-menu {
    transition: all 0.3s ease;
}

#mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s ease;
}

#mobile-menu a:hover {
    background-color: #f9fafb;
    color: #1f2937;
}

#mobile-menu a:last-child {
    border-bottom: none;
}

/* Footer Navigation Styles */
.footer-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-navigation li {
    display: inline-block;
}

.footer-navigation a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-navigation a:hover {
    color: #ffffff;
}

/* Navigation Menu Item Styles */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    display: inline-block;
}

.main-navigation a {
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Mobile menu toggle button */
#mobile-menu-toggle {
    transition: all 0.2s ease;
}

#mobile-menu-toggle:hover {
    transform: scale(1.05);
}

/* Dashboard Text Visibility Fixes */
/* Ensure all button text is visible */
button, .btn, [class*="bg-"] {
    color: inherit !important;
}

/* Force white text on ALL dark backgrounds */
.bg-blue-600, .bg-blue-700, .bg-green-600, .bg-green-700, .bg-red-600, .bg-red-700,
.bg-blue-500, .bg-blue-800, .bg-green-500, .bg-green-800, .bg-red-500, .bg-red-800,
.bg-purple-600, .bg-purple-700, .bg-indigo-600, .bg-indigo-700,
.bg-cyan-600, .bg-cyan-700, .bg-teal-600, .bg-teal-700 {
    color: white !important;
}

/* Force white text on any colored background */
[class*="bg-blue"], [class*="bg-green"], [class*="bg-red"], 
[class*="bg-purple"], [class*="bg-indigo"], [class*="bg-cyan"], [class*="bg-teal"] {
    color: white !important;
}

/* Force dark text on light backgrounds */
.bg-white, .bg-gray-50, .bg-gray-100, .bg-gray-200 {
    color: #1f2937 !important;
}

/* Action button fixes */
.action-btn {
    min-width: 60px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.action-btn.blue {
    background-color: #2563eb !important;
    color: white !important;
}

.action-btn.red {
    background-color: #dc2626 !important;
    color: white !important;
}

/* Dashboard balance text visibility - FORCE WHITE on green background */
.user-balance, .bg-green-600, .bg-green-700 {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Form button text visibility */
#linkverse-create-link-form button[type="submit"] {
    color: white !important;
    font-weight: 600;
}

/* Withdrawal button text visibility */
.bg-green-600 button, button.bg-green-600 {
    color: white !important;
    font-weight: 600;
}

/* Table text visibility */
table th, table td {
    color: #374151 !important;
}

/* Navigation text visibility */
.nav-tab {
    color: #374151 !important;
}

.nav-tab.active {
    color: #1e40af !important;
}

/* Sidebar text visibility */
.sidebar h2, .sidebar p {
    color: #1f2937 !important;
}

/* Card text visibility */
.bg-white h3, .bg-white p, .bg-white span {
    color: #1f2937 !important;
}

/* Ensure all text has proper contrast */
.text-gray-800, .text-gray-700, .text-gray-600 {
    color: #374151 !important;
}

/* Button hover states */
button:hover, .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* CRITICAL: Force white text on ANY colored background */
div[class*="bg-"], span[class*="bg-"], p[class*="bg-"], h1[class*="bg-"], h2[class*="bg-"], h3[class*="bg-"] {
    color: white !important;
}

/* Specific balance display fix */
.bg-green-600 .user-balance, .bg-green-700 .user-balance,
.bg-green-600 p, .bg-green-700 p,
.bg-green-600 span, .bg-green-700 span {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
