@keyframes fadeAndSlideIn {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

.container {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
    border-top: 4px solid #2563eb;
    animation: fadeAndSlideIn 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.container h1 {
    margin-top: 0;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-align: center;
    color: #0f172a;
    font-weight: 700;
}

.top-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.btn-create {
    padding: 0.75rem 1.5rem;
    background-color: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-create:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.find-box {
    display: flex;
    flex-grow: 1;
    max-width: 300px;
}

.find-box input {
    width: 100%;
    padding: 0.6rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px 0 0 8px;
    outline: none;
    font-size: 0.9rem;
    font-family: inherit;
}

.find-box input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-find {
    padding: 0.6rem 1.2rem;
    background-color: #475569;
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-find:hover {
    background-color: #334155;
}

.recent-section h2 {
    font-size: 1.1rem;
    color: #334155;
    margin-bottom: 1rem;
}

.paste-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.paste-list li {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

.paste-list li:hover {
    border-color: #bfdbfe;
    background-color: #eff6ff;
    transform: translateX(4px);
}

.paste-title {
    display: block;
    padding: 1rem;
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
}

.paste-title:hover {
    color: #2563eb;
}

.empty-msg {
    color: #64748b;
    font-size: 0.95rem;
    text-align: center;
    padding: 1.5rem;
    background-color: #f8fafc;
    border-radius: 8px;
    border: 1px dashed #cbd5e1;
}
