/* Main styles for Pokemon TCG App */

/* CSS Custom Properties - Color Palette */
:root {
    /* Primary Pokemon Colors */
    --pokemon-blue: #1E3A8A;
    --pokemon-blue-light: #1E40AF;
    --pokemon-blue-dark: #1E3A8A;

    /* UI Colors */
    --gray-100: #f3f4f6;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --white: #ffffff;

    /* Status Colors */
    --red-500: #ef4444;
    --red-600: #dc2626;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
}

/* Global styles */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 500;
    /* Make all text bolder by default */
}

/* Layout */
.min-h-screen {
    min-height: 100vh;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

/* Colors */
.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-blue-600 {
    background-color: #2563eb;
}

.bg-white {
    background-color: #ffffff;
}

.text-white {
    color: #ffffff;
}

.text-gray-600 {
    color: #4b5563;
}

/* Typography */
.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-extrabold {
    font-weight: 800;
}

/* Spacing */
.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

/* Borders */
.border {
    border-width: 1px;
}

.border-b {
    border-bottom-width: 1px;
}

.rounded {
    border-radius: 0.25rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

/* Shadows */
.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* Tab Button Styles */
.tab-button {
    transition: background-color 0.2s ease;
    background-color: transparent;
}


/* Utilities */
.hidden {
    display: none;
}

.cursor-pointer {
    cursor: pointer;
}

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

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

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Responsive */
@media (min-width: 1024px) {
    .lg\\:hidden {
        display: none;
    }
}