body {
    font-family: system-ui, -apple-system, sans-serif;
    background-color: #f9fafb;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* Title animations */
.title-container {
    width: 100%;
    height: 60px;
    position: relative;
    margin-bottom: 1rem;
}

.title-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.title-text {
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #1f2937;
    transition: all 0.5s ease;
    margin: 0;
    padding: 0;
    left: 0;
    right: 0;
}

.title-enter {
    transform: translateY(0);
    opacity: 1;
}

.title-exit {
    transform: translateY(-100%);
    opacity: 0;
}

/* Rest of the styles */
.btn {
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

/* Content transitions */
.content-section {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease-out;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Form elements */
input[type="text"],
input[type="search"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    background-color: white;
    transition: border-color 0.15s ease-in-out;
}

input[type="text"]:focus,
input[type="search"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Modal styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 50;
}

.modal-content {
    background-color: white;
    width: 95vw;
    max-width: 1200px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background-color: #f9fafb;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.modal-body {
    flex: 1;
    overflow: hidden;
    background-color: white;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    background-color: #f9fafb;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

/* Close button style */
.modal-close-btn {
    width: 24px;
    height: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e5e7eb;
    color: #4b5563;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.modal-close-btn:hover {
    background-color: #d1d5db;
    color: #1f2937;
}

.modal-close-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

/* Download button style */
.download-btn {
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    background: linear-gradient(to bottom, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
}

.download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.download-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
}

.download-btn:active {
    transform: translateY(0);
}

.download-btn:disabled {
    background: #e5e7eb;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

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

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