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

* {
    font-family: 'Poppins', sans-serif;
}

body {
    padding: 20px;
}

h1 {
    margin-top: 0;
    margin-bottom: 30px;
    color: #333;
    font-family: 'Audiowide', sans-serif;
    text-transform: uppercase;
}

a {
    color: #c85a2a;
    text-decoration: none;
}

a:hover {
    color: #a04620;
}

.controls {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

input[type="number"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

button {
    padding: 8px 20px;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.event-header {
    display: flex;
    gap: 10px;
    align-items: center;
}

.date {
    flex: 0 0 40px;
}

.title {
    flex: 1 1 200px;
}

.category {
    flex: 0 0 80px;
}

.location {
    flex: 0 0 20%;
}

.toggle-btn {
    flex: 0 0 30px;
    padding: 4px 8px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    color: #333;
}

.toggle-btn:hover {
    color: #c85a2a;
}

.description-container {
    margin-top: 10px;
    padding: 10px 0;
}

.description {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    white-space: pre-wrap;
}

.spinner {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #ddd;
    border-top: 2px solid #333;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 6px;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
