/* Server Creator Modal Styles */

/* Enhanced Mobile Background Display */
@media (max-width: 768px) {
    .hero-background {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center !important;
    }
    
    .hero-background::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
        z-index: 1;
    }
    
    .hero-content {
        position: relative;
        z-index: 2;
    }
}

/* Enhanced Button Spacing and Positioning */
.server-creator .action-buttons-container {
    padding: 20px 0;
    margin-top: 24px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.server-creator .action-buttons-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.server-creator .action-buttons-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.server-creator .action-btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    min-width: 140px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.server-creator .action-btn-back {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    border-color: #4b5563;
}

.server-creator .action-btn-continue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-color: #1d4ed8;
}

.server-creator .action-btn-continue:disabled {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
    border-color: #6b7280;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Enhanced Step Content with Proper Spacing */
.server-creator .step-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    padding-bottom: 120px; /* Adequate bottom padding for fixed action buttons */
}

/* Desktop Optimizations */
@media (min-width: 769px) {
    .server-creator .action-buttons-container {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .server-creator .step-content {
        padding-bottom: 120px;
    }
}

/* Mobile Optimizations for Action Buttons */
@media (max-width: 768px) {
    .server-creator .action-buttons-container {
        padding: 16px 0;
        margin-top: 0;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-radius: 20px 20px 0 0;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding-bottom: max(16px, env(safe-area-inset-bottom));
    }
    
    .server-creator .action-buttons-wrapper {
        padding: 0 16px;
    }
    
    .server-creator .action-buttons-flex {
        gap: 12px;
        justify-content: space-between;
    }
    
    .server-creator .action-btn {
        flex: 1;
        padding: 16px 20px;
        font-size: 15px;
        min-width: auto;
        border-radius: 12px;
        font-weight: 600;
        letter-spacing: 0.3px;
    }
    
    .server-creator .step-content {
        padding-bottom: 100px;
    }
}

@media (max-width: 480px) {
    .server-creator .action-buttons-container {
        padding: 12px 0;
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }
    
    .server-creator .action-buttons-wrapper {
        padding: 0 12px;
    }
    
    .server-creator .action-btn {
        padding: 14px 16px;
        font-size: 14px;
        border-radius: 10px;
        font-weight: 600;
        letter-spacing: 0.2px;
    }
    
    .server-creator .step-content {
        padding-bottom: 90px;
    }
}

/* Ensure modal content doesn't overlap with fixed buttons on mobile */
@media (max-width: 768px) {
    .server-creator #server-creator-modal > div {
        padding-bottom: 0;
    }
    
    .server-creator .step-content {
        margin-bottom: 0;
    }
}

/* Modal Container */
.server-creator {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Enhanced Modal Background */
.server-creator #server-creator-modal {
    backdrop-filter: blur(12px);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.98));
}

/* Enhanced Modal Content */
.server-creator .bg-white {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
    border: none;
}

/* Full-screen modal content focus */
.server-creator .step-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Enhanced content spacing for better focus */
.server-creator .step-content > div {
    margin-bottom: 2rem;
}

.server-creator .step-content > div:last-child {
    margin-bottom: 0;
}



/* Enhanced Professional Modal Styling */
.server-creator .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.server-creator .step-title {
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.server-creator .step-description {
    font-weight: 500;
    opacity: 0.9;
    line-height: 1.6;
}

/* Enhanced Card Styling */
.server-creator .enhanced-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.server-creator .enhanced-card:hover {
    transform: translateY(-4px);
    border-color: #3b82f6;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.server-creator .enhanced-card.selected {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

/* Enhanced Button Styling */
.server-creator .enhanced-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.server-creator .enhanced-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.server-creator .enhanced-btn:active {
    transform: translateY(0);
}

/* Enhanced Form Styling */
.server-creator .enhanced-input {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.server-creator .enhanced-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    outline: none;
}

/* Enhanced Progress Bar */
.server-creator .enhanced-progress {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8, #7c3aed);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

/* Enhanced Typography */
.server-creator .enhanced-text {
    font-weight: 600;
    line-height: 1.6;
    color: #1f2937;
}

.server-creator .enhanced-text-secondary {
    font-weight: 500;
    line-height: 1.5;
    color: #6b7280;
}

/* Enhanced Spacing */
.server-creator .enhanced-spacing {
    padding: 24px;
    margin: 16px 0;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .server-creator .enhanced-spacing {
        padding: 16px;
        margin: 12px 0;
    }
    
    .server-creator .enhanced-card {
        border-radius: 12px;
    }
    
    .server-creator .enhanced-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Configuration Method Cards */
.server-creator .config-method-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.server-creator .config-method-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.server-creator .config-method-card.selected {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Auth Mode Cards */
.server-creator .auth-mode-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.server-creator .auth-mode-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Enhanced Progress Bar Animation */
.server-creator #progress-bar {
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: width;
    transform: translateZ(0);
    backface-visibility: hidden;
    min-width: 0;
}

/* Enhanced Progress Bar Container */
.server-creator .progress-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.15);
    height: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Enhanced Force progress bar to work */
.server-creator #progress-bar {
    height: 100% !important;
    border-radius: 12px !important;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #d97706) !important;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.3) !important;
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
    border: 1px solid rgba(251, 191, 36, 0.3) !important;
}

/* Enhanced Progress bar animation states */


/* Enhanced step indicators */
.server-creator #current-step {
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

/* Enhanced Step 1 Server Type Icons - Individual Cards Only */
.server-creator .nest-card {
    border: 2px solid transparent;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.server-creator .nest-card.selected {
    border-color: #6366f1;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.1), 0 10px 10px -5px rgba(99, 102, 241, 0.04);
}

.server-creator .nest-card .nest-icon {
    font-size: 4rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.server-creator .nest-card.selected .nest-icon {
    font-size: 5rem;
    transform: scale(1.1);
    filter: drop-shadow(0 8px 16px rgba(99, 102, 241, 0.4));
}

/* Enhanced Custom Category Cards */
.server-creator .custom-category-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 2px solid #e5e7eb;
}

.server-creator .custom-category-card.selected {
    transform: translateY(-4px) scale(1.03);
    border-color: #6366f1;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.15), 0 10px 10px -5px rgba(99, 102, 241, 0.1);
}

.server-creator .custom-category-card .w-20 {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.server-creator .custom-category-card:hover .w-20 {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(99, 102, 241, 0.3));
}

.server-creator .custom-category-card.selected .w-20 {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(99, 102, 241, 0.4));
}

/* Pulse animation for selection indicator */
@keyframes customPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.server-creator .custom-category-card .w-2.h-2.bg-indigo-500 {
    animation: customPulse 2s ease-in-out infinite;
}

/* Professional Unified Color Scheme */
.server-creator .professional-card {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 2px solid #3b82f6;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.1);
}

.server-creator .professional-card:hover {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-color: #2563eb;
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.15);
}

.server-creator .professional-secondary {
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border: 2px solid #6366f1;
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.1);
}

.server-creator .professional-secondary:hover {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    border-color: #4f46e5;
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.15);
}

/* Error popup animations */
@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

#error-popup > div {
    animation: popupFadeIn 0.3s ease-out;
}

/* Loading Spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.server-creator .animate-spin {
    animation: spin 1s linear infinite;
}

/* Pulse Effect */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.server-creator .animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Text Truncation */
.server-creator .line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Smooth Transitions */
.server-creator button,
.server-creator input,
.server-creator .cursor-pointer {
    transition: all 0.2s ease-in-out;
}

/* Form Input Focus States */
.server-creator input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
}

/* Error State Styling */
.server-creator .error {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Success State Styling */
.server-creator .success {
    animation: bounceIn 0.5s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Modern Slider Styles */
.server-creator input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 12px;
    border-radius: 20px;
    background: linear-gradient(to right, #e5e7eb 0%, #e5e7eb 100%);
    outline: none;
    cursor: pointer;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.1);
    border: 2px solid #d1d5db;
    transition: all 0.3s ease;
    position: relative;
}

.server-creator input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3), 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
}

.server-creator input[type="range"]::-moz-range-thumb {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3), 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

/* Blue Slider (CPU) - Modern Design */
.server-creator .slider-blue {
    background: linear-gradient(to right, #3b82f6 0%, #3b82f6 50%, #e5e7eb 50%, #e5e7eb 100%);
    border: 2px solid #3b82f6;
    box-shadow: inset 0 2px 8px rgba(59, 130, 246, 0.2);
}

.server-creator .slider-blue::-webkit-slider-thumb {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: 4px solid #ffffff;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4), 0 4px 16px rgba(0,0,0,0.2);
}

.server-creator .slider-blue::-moz-range-thumb {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: 4px solid #ffffff;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4), 0 4px 16px rgba(0,0,0,0.2);
}

.server-creator .slider-blue:hover::-webkit-slider-thumb {
    transform: scale(1.4);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.6), 0 6px 20px rgba(0,0,0,0.3);
}

.server-creator .slider-blue:hover::-moz-range-thumb {
    transform: scale(1.4);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.6), 0 6px 20px rgba(0,0,0,0.3);
}

/* Green Slider (RAM) - Modern Design */
.server-creator .slider-green {
    background: linear-gradient(to right, #10b981 0%, #10b981 50%, #e5e7eb 50%, #e5e7eb 100%);
    border: 2px solid #10b981;
    box-shadow: inset 0 2px 8px rgba(16, 185, 129, 0.2);
}

.server-creator .slider-green::-webkit-slider-thumb {
    background: linear-gradient(135deg, #10b981, #047857);
    border: 4px solid #ffffff;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4), 0 4px 16px rgba(0,0,0,0.2);
}

.server-creator .slider-green::-moz-range-thumb {
    background: linear-gradient(135deg, #10b981, #047857);
    border: 4px solid #ffffff;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4), 0 4px 16px rgba(0,0,0,0.2);
}

.server-creator .slider-green:hover::-webkit-slider-thumb {
    transform: scale(1.4);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.6), 0 6px 20px rgba(0,0,0,0.3);
}

.server-creator .slider-green:hover::-moz-range-thumb {
    transform: scale(1.4);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.6), 0 6px 20px rgba(0,0,0,0.3);
}

/* Orange Slider (Disk) - Modern Design */
.server-creator .slider-orange {
    background: linear-gradient(to right, #f59e0b 0%, #f59e0b 50%, #e5e7eb 50%, #e5e7eb 100%);
    border: 2px solid #f59e0b;
    box-shadow: inset 0 2px 8px rgba(245, 158, 11, 0.2);
}

.server-creator .slider-orange::-webkit-slider-thumb {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: 4px solid #ffffff;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4), 0 4px 16px rgba(0,0,0,0.2);
}

.server-creator .slider-orange::-moz-range-thumb {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: 4px solid #ffffff;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4), 0 4px 16px rgba(0,0,0,0.2);
}

.server-creator .slider-orange:hover::-webkit-slider-thumb {
    transform: scale(1.4);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.6), 0 6px 20px rgba(0,0,0,0.3);
}

.server-creator .slider-orange:hover::-moz-range-thumb {
    transform: scale(1.4);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.6), 0 6px 20px rgba(0,0,0,0.3);
}

/* Enhanced Hover Effects for Track */
.server-creator input[type="range"]:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.15), 0 4px 16px rgba(0,0,0,0.1);
}

/* Enhanced Focus Effects */
.server-creator input[type="range"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.15), 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.server-creator input[type="range"]:focus::-webkit-slider-thumb {
    outline: 4px solid rgba(59, 130, 246, 0.3);
    outline-offset: 3px;
}

.server-creator input[type="range"]:focus::-moz-range-thumb {
    outline: 4px solid rgba(59, 130, 246, 0.3);
    outline-offset: 3px;
}

/* Active state for better feedback */
.server-creator input[type="range"]:active::-webkit-slider-thumb {
    transform: scale(1.5);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.3);
}

.server-creator input[type="range"]:active::-moz-range-thumb {
    transform: scale(1.5);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.3);
}

/* Progress indicator for sliders */
.server-creator .slider-container {
    position: relative;
}

.server-creator .slider-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
    pointer-events: none;
}

.server-creator .slider-progress.blue {
    background: linear-gradient(to right, #3b82f6, #1d4ed8);
}

.server-creator .slider-progress.green {
    background: linear-gradient(to right, #10b981, #047857);
}

.server-creator .slider-progress.orange {
    background: linear-gradient(to right, #f59e0b, #d97706);
}

/* Duration Slider with Dynamic Progress - Enhanced Professional Design */
.server-creator .duration-slider {
    background: linear-gradient(to right, #10b981 0%, #10b981 8.33%, #f8fafc 8.33%, #f8fafc 100%);
    border: 2px solid #10b981;
    box-shadow: inset 0 2px 8px rgba(16, 185, 129, 0.2);
    transition: background 0.3s ease;
    height: 8px;
    border-radius: 4px;
}

.server-creator .duration-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    border: 4px solid #ffffff;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4), 0 4px 16px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.server-creator .duration-slider::-moz-range-thumb {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    border: 4px solid #ffffff;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4), 0 4px 16px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.server-creator .duration-slider:hover::-webkit-slider-thumb {
    background: linear-gradient(135deg, #059669, #047857);
    transform: scale(1.2);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.6), 0 6px 20px rgba(0,0,0,0.3);
}

.server-creator .duration-slider:hover::-moz-range-thumb {
    background: linear-gradient(135deg, #059669, #047857);
    transform: scale(1.2);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.6), 0 6px 20px rgba(0,0,0,0.3);
}

/* Modal Animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Gradient Animations */
@keyframes gradient-x {
    0%, 100% {
        background-size: 200% 200%;
        background-position: left center;
    }
    50% {
        background-size: 200% 200%;
        background-position: right center;
    }
}

.animate-gradient-x {
    animation: gradient-x 3s ease infinite;
}

/* Smooth Backdrop Blur */
.backdrop-blur-lg {
    backdrop-filter: blur(16px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #3b82f6, #8b5cf6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #2563eb, #7c3aed);
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .server-creator .grid {
        grid-template-columns: 1fr;
    }
    
    .server-creator .text-5xl {
        font-size: 3rem;
    }
    
    .server-creator .text-6xl {
        font-size: 4rem;
    }
}

/* Additional Utility Classes */
.server-creator .text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.server-creator .hover-lift {
    transition: transform 0.2s ease-in-out;
}

.server-creator .hover-lift:hover {
    transform: translateY(-2px);
}

/* Loading States */
.server-creator .loading {
    opacity: 0.6;
    pointer-events: none;
}

.server-creator .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 #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Focus Visible for Accessibility */
.server-creator button:focus-visible,
.server-creator input:focus-visible,
.server-creator .cursor-pointer:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Custom slider styles for new design */
#custom-config-sliders input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #6366f1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
    transition: all 0.2s ease;
}

#custom-config-sliders input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

#custom-config-sliders input[type="range"]::-moz-range-thumb {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #6366f1;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
    transition: all 0.2s ease;
}

#custom-config-sliders input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    #custom-config-sliders .flex.items-center.justify-between {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    #custom-config-sliders .text-right {
        text-align: left;
        width: 100%;
    }
} 

/* Enhanced Mobile Experience for Fixed Bottom Buttons */
@media (max-width: 768px) {
    /* Ensure modal takes full height on mobile */
    .server-creator #server-creator-modal {
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for better mobile support */
    }
    
    /* Ensure modal content scrolls properly */
    .server-creator #server-creator-modal > div {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    /* Make step content scrollable */
    .server-creator .step-content {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }
    

}

@media (max-width: 480px) {
    .server-creator .action-buttons-container {
        padding: 12px 0;
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }
    
    .server-creator .action-buttons-wrapper {
        padding: 0 12px;
    }
    
    .server-creator .action-btn {
        padding: 12px 14px;
        font-size: 14px;
        border-radius: 8px;
    }
    
    .server-creator .step-content {
        padding-bottom: 90px;
    }
}

/* Ensure modal content doesn't overlap with fixed buttons on mobile */
@media (max-width: 768px) {
    .server-creator #server-creator-modal > div {
        padding-bottom: 0;
    }
    
    .server-creator .step-content {
        margin-bottom: 0;
    }
    
    /* Prevent body scroll when modal is open on mobile */
    body.modal-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
} 

/* Enhanced Professional Button Styling */
.server-creator .enhanced-btn {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border: none;
    border-radius: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.server-creator .enhanced-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.server-creator .enhanced-btn:hover::before {
    left: 100%;
}

.server-creator .enhanced-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
}

.server-creator .enhanced-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

/* Professional Action Button Variants */


/* Enhanced Form Styling with Better Spacing */
.server-creator .enhanced-input {
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px 24px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.server-creator .enhanced-input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1), 0 4px 12px rgba(79, 70, 229, 0.15);
    outline: none;
    transform: translateY(-1px);
}

.server-creator .enhanced-input:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Enhanced Card Styling with Better Spacing */
.server-creator .enhanced-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 32px;
}

.server-creator .enhanced-card:hover {
    transform: translateY(-6px);
    border-color: #4f46e5;
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
}

.server-creator .enhanced-card.selected {
    border-color: #4f46e5;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.2);
}

/* Enhanced Typography with Better Spacing */
.server-creator .enhanced-text {
    font-weight: 700;
    line-height: 1.7;
    color: #1f2937;
    letter-spacing: 0.025em;
}

.server-creator .enhanced-text-secondary {
    font-weight: 500;
    line-height: 1.6;
    color: #6b7280;
    letter-spacing: 0.025em;
}

/* Enhanced Spacing System */
.server-creator .enhanced-spacing {
    padding: 32px;
    margin: 24px 0;
}

.server-creator .enhanced-spacing-large {
    padding: 48px;
    margin: 32px 0;
}

.server-creator .enhanced-spacing-small {
    padding: 20px;
    margin: 16px 0;
}

/* Professional Modal Header Enhancement */
.server-creator .modal-header {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 24px 32px;
}

.server-creator .step-title {
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    font-size: 1.5rem;
}

.server-creator .step-description {
    font-weight: 500;
    opacity: 0.95;
    line-height: 1.6;
    font-size: 1rem;
}

/* Enhanced Progress Bar */
.server-creator .enhanced-progress {
    background: linear-gradient(90deg, #4f46e5, #7c3aed, #ec4899);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.4);
    height: 8px;
}

/* Professional Tab Navigation Enhancement */
.server-creator .auth-tab-container {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.server-creator .auth-tab-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 16px 24px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.server-creator .auth-tab-btn.active {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    border-color: #4f46e5;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3);
    transform: translateY(-2px);
}

.server-creator .auth-tab-btn:hover:not(.active) {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-color: #4f46e5;
    transform: translateY(-1px);
}

/* Enhanced Form Container */
.server-creator .auth-form-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin: 32px 0;
}

/* Professional Social Login Button */
.server-creator .social-login-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px 24px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.server-creator .social-login-btn:hover {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.15);
}

/* Enhanced Divider */
.server-creator .enhanced-divider {
    position: relative;
    margin: 32px 0;
}

.server-creator .enhanced-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
}

.server-creator .enhanced-divider-text {
    position: relative;
    background: white;
    padding: 0 16px;
    color: #6b7280;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Mobile Optimizations with Better Spacing */
@media (max-width: 768px) {
    .server-creator .enhanced-spacing {
        padding: 24px;
        margin: 20px 0;
    }
    
    .server-creator .enhanced-card {
        border-radius: 16px;
        padding: 24px;
    }
    
    .server-creator .enhanced-btn {
        padding: 14px 20px;
        font-size: 14px;
        border-radius: 12px;
    }
    
    .server-creator .auth-form-container {
        padding: 24px;
        margin: 20px 0;
    }
    
    .server-creator .modal-header {
        padding: 20px 24px;
    }
}

@media (max-width: 480px) {
    .server-creator .enhanced-spacing {
        padding: 20px;
        margin: 16px 0;
    }
    
    .server-creator .enhanced-card {
        padding: 20px;
    }
    
    .server-creator .enhanced-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .server-creator .auth-form-container {
        padding: 20px;
    }
} 

/* Enhanced Payment Button Styling */
.server-creator .payment-btn {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border: none;
    border-radius: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    color: white;
}

.server-creator .payment-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.server-creator .payment-btn:hover::before {
    left: 100%;
}

.server-creator .payment-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
}

.server-creator .payment-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

/* Enhanced Invoice Section Styling */
.server-creator .invoice-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin: 32px 0;
}

.server-creator .invoice-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 32px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
}

.server-creator .invoice-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.server-creator .invoice-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    line-height: 1.6;
}

/* Enhanced Payment Status Styling */
.server-creator .payment-status {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 2px solid #3b82f6;
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
}

.server-creator .payment-status-title {
    font-weight: 700;
    color: #1e40af;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.server-creator .payment-status-description {
    color: #1e40af;
    font-size: 1rem;
    line-height: 1.6;
}

/* Enhanced Customer Info Styling */
.server-creator .customer-info {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.15);
}

.server-creator .customer-info-label {
    font-weight: 600;
    color: #0369a1;
}

.server-creator .customer-info-value {
    font-weight: 500;
    color: #0c4a6e;
}

/* Enhanced Bank Transfer Section */
.server-creator .bank-transfer-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.15);
}

.server-creator .bank-transfer-title {
    font-weight: 700;
    color: #0369a1;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

/* Enhanced Balance Payment Section */
.server-creator .balance-payment-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #22c55e;
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.15);
}

.server-creator .balance-payment-title {
    font-weight: 700;
    color: #15803d;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.server-creator .balance-info {
    background: rgba(34, 197, 94, 0.1);
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.server-creator .balance-warning {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid #ef4444;
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.15);
}

/* Enhanced Order Details Styling */
.server-creator .order-details-section {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border: 2px solid #a855f7;
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.15);
}

.server-creator .order-details-title {
    font-weight: 700;
    color: #7c3aed;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.server-creator .order-detail-item {
    background: rgba(168, 85, 247, 0.1);
    border-radius: 12px;
    padding: 16px;
    margin: 12px 0;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.server-creator .order-detail-label {
    font-weight: 600;
    color: #6b21a8;
}

.server-creator .order-detail-value {
    font-weight: 500;
    color: #581c87;
}

/* Enhanced Price Breakdown Styling */
.server-creator .price-breakdown {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #22c55e;
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.15);
}

.server-creator .price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
}

.server-creator .price-item:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.25rem;
    color: #15803d;
}

.server-creator .price-label {
    font-weight: 500;
    color: #166534;
}

.server-creator .price-value {
    font-weight: 600;
    color: #15803d;
}

/* Enhanced Success Animation */
.server-creator .success-animation {
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 40px rgba(16, 185, 129, 0.4);
    }
}

/* Enhanced Mobile Responsiveness for Step 6 */
@media (max-width: 768px) {
    .server-creator .invoice-section {
        padding: 24px;
        margin: 20px 0;
    }
    
    .server-creator .invoice-header {
        padding: 24px;
        margin-bottom: 24px;
    }
    
    .server-creator .invoice-title {
        font-size: 2rem;
    }
    
    .server-creator .payment-status,
    .server-creator .customer-info,
    .server-creator .bank-transfer-section,
    .server-creator .balance-payment-section,
    .server-creator .order-details-section,
    .server-creator .price-breakdown {
        padding: 20px;
        margin: 16px 0;
    }
    
    .server-creator .enhanced-btn {
        padding: 14px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .server-creator .invoice-section {
        padding: 20px;
        margin: 16px 0;
    }
    
    .server-creator .invoice-header {
        padding: 20px;
    }
    
    .server-creator .invoice-title {
        font-size: 1.75rem;
    }
    
    .server-creator .payment-status,
    .server-creator .customer-info,
    .server-creator .bank-transfer-section,
    .server-creator .balance-payment-section,
    .server-creator .order-details-section,
    .server-creator .price-breakdown {
        padding: 16px;
        margin: 12px 0;
    }
    
    .server-creator .enhanced-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
} 

/* Enhanced UX Support Classes */
.server-creator .config-method-section {
    scroll-margin-top: 120px;
}

.server-creator .package-list {
    scroll-margin-top: 120px;
}

.server-creator .custom-config-option {
    scroll-margin-top: 120px;
}

.server-creator .server-name-section {
    scroll-margin-top: 120px;
}

.server-creator .auth-form-section {
    scroll-margin-top: 120px;
}

/* Enhanced Focus States */
.server-creator .enhanced-input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1), 0 4px 12px rgba(79, 70, 229, 0.15);
    outline: none;
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

.server-creator .enhanced-input:focus-within {
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1), 0 4px 12px rgba(79, 70, 229, 0.15);
}

/* Enhanced Scroll Behavior */
.server-creator .step-content {
    scroll-behavior: smooth;
}

.server-creator .modal-content {
    scroll-behavior: smooth;
}

/* Enhanced Mobile Focus Management */
@media (max-width: 768px) {
    .server-creator .enhanced-input:focus {
        transform: none;
        box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
    }
    
    .server-creator .config-method-section,
    .server-creator .package-list,
    .server-creator .custom-config-option,
    .server-creator .server-name-section,
    .server-creator .auth-form-section {
        scroll-margin-top: 80px;
    }
}

/* Enhanced Progress Bar Animation */
.server-creator .enhanced-progress {
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Floating Close Button */
.server-creator .close-btn {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.server-creator .close-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

/* Enhanced Auto-scroll Indicators */
.server-creator .scroll-indicator {
    position: relative;
    overflow: hidden;
}

.server-creator .scroll-indicator::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.3), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-100%);
    }
    50% {
        opacity: 0.8;
        transform: translateX(100%);
    }
}

/* Enhanced Focus Ring for Accessibility */
.server-creator .enhanced-btn:focus,
.server-creator .enhanced-input:focus,
.server-creator .auth-tab-btn:focus {
    outline: 2px solid #4f46e5;
    outline-offset: 2px;
}

/* Enhanced Mobile Touch Targets */
@media (max-width: 768px) {
    .server-creator .enhanced-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .server-creator .enhanced-input {
        min-height: 44px;
    }
    
    .server-creator .close-btn {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Enhanced Loading States */
.server-creator .loading-focus {
    position: relative;
}

.server-creator .loading-focus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.1), transparent);
    animation: loadingShimmer 1.5s ease-in-out infinite;
}

@keyframes loadingShimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
} 