/* style.css */
/* Niestandardowe style rozszerzające Tailwind CSS */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc; /* Tailwind slate-50 */
}

/* Glassmorphism dla nowoczesnego wyglądu kart */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-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);
}

/* Animacje mikrokontrolerów */
.copy-btn {
    transition: all 0.2s ease-in-out;
}

.copy-btn:active {
    transform: scale(0.95);
}

.copy-success {
    background-color: #10b981 !important; /* emerald-500 */
    color: white !important;
    border-color: #10b981 !important;
}

/* Stylowanie scrollbara */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9; 
    border-radius: 4px;
}
 
::-webkit-scrollbar-thumb {
    background: #cbd5e1; 
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8; 
}

/* Gradient text */
.text-gradient-win {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #2563eb, #0ea5e9); /* blue-600 to sky-500 */
}

.text-gradient-mac {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #4b5563, #111827); /* gray-600 to gray-900 */
}

/* Płynne przejścia */
.smooth-transition {
    transition: all 0.3s ease;
}
