* {
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.uuid-font {
    font-family: 'SF Mono', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.tab-button {
    background: #ffffff;
    color: #6b7280;
    border: 2px solid #e5e7eb;
    transform: scale(1);
    width: 100%;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.tab-button:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: scale(1.02);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tab-button.active {
    background-color: #DA1259;
    color: white;
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(218, 18, 89, 0.15);
}

#single-header {
    background-color: #0074A0;
}

#bulk-header {
    background-color: #007472;
}

#version-header {
    background-color: #DA1259;
}

#copy-button {
    background-color: #6b7280;
}

#generate-button {
    background-color: #0074A0;
}

#bulk-generate-button {
    background-color: #007472;
}

#copy-button:hover,
#generate-button:hover,
#bulk-generate-button:hover {
    opacity: 0.9;
}

.text-version-icon {
    color: #007472;
}

#toast-container {
    max-width: 400px;
}

#toast-container > div {
    backdrop-filter: blur(10px);
}

#uuid-display {
    text-shadow: none;
}

button, input, .tab-button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

button:focus-visible {
    outline: 3px solid #007B00;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(0, 123, 0, 0.05);
}

a:focus-visible {
    outline: 3px solid #007B00;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(0, 123, 0, 0.05);
}

input:focus {
    outline: none;
    border-color: #9441C3 !important;
    box-shadow: 0 0 0 3px rgba(148, 65, 195, 0.05);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-slide-in {
    animation: slideIn 0.5s ease-out;
}

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

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

.spinning {
    animation: spin 1s linear infinite;
}

@media (max-width: 640px) {
    .uuid-font {
        font-size: 14px;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}