/* Enhanced light mode styles with elegant touches */

/* Custom scrollbar for light theme */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F8F9FA;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #FF6B35;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #E55A2B;
}

/* Smooth transitions for everything */
* {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced focus states with elegant shadows */
input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Elegant button hover effects */
button {
    transition: all 0.2s ease;
}

button:hover:not(:disabled) {
    transform: translateY(-1px);
}

button:active:not(:disabled) {
    transform: translateY(0);
}

/* Custom fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Loading spinner animation */
.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Elegant gradient backgrounds */
.bg-gradient-coral {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
}

/* Enhanced card hover effects */
.shadow-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.shadow-card-hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Typography improvements */
body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.011em;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

h1, h2, h3 {
    letter-spacing: -0.025em;
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Stack layout adjustments */
    .grid {
        gap: 1.5rem;
    }
    
    /* Button sizing for mobile */
    button {
        min-height: 44px;
    }
    
    /* Input field improvements */
    input, textarea, select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

@media (max-width: 640px) {
    /* Responsive text sizing */
    h1 {
        font-size: 2rem;
    }
    
    /* Compact card spacing */
    .space-y-6 > * + * {
        margin-top: 1rem;
    }
    
    /* Grid adjustments */
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }
    
    .md\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Enhanced dark mode support */
.dark {
    color-scheme: dark;
}

.dark ::-webkit-scrollbar-track {
    background: #374151;
}

.dark ::-webkit-scrollbar-thumb {
    background: #FF6B35;
}

/* Improved form controls */
input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m13.854 3.646-7.5 7.5a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6 10.293l7.146-7.147a.5.5 0 0 1 .708.708z'/%3e%3c/svg%3e");
}

/* Toast notification style for copy success */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #10B981;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Elegant placeholder text */
::placeholder {
    opacity: 0.6;
    font-style: italic;
}

/* Enhanced selection colors */
::selection {
    background-color: rgba(255, 107, 53, 0.2);
    color: inherit;
}

/* Smooth theme transitions */
.transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}