:root {
    color-scheme: light;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    --primary: #006d77;
    --primary-dark: #004b50;
    --bg: #f3f5f7;
    --card-bg: #ffffff;
    --border: #d9e0e7;
    --text-muted: #5d6773;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: #1c1f24;
    font-family: var(--font, "Inter", var(--font, "Segoe UI"));
    line-height: 1.6;
}

.container {
    width: min(1100px, 90vw);
    margin: 0 auto;
    padding: 2rem 0;
}

.site-header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.site-header h1 {
    margin: 0;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.admin-link {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
}

.trip-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.accordion-toggle {
    width: 100%;
    border: none;
    background: transparent;
    padding: 1.3rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    gap: 1rem;
}

.accordion-toggle h2 {
    margin: 0 0 0.25rem 0;
}

.accordion-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: transform 0.2s ease;
}

.accordion-toggle.open .accordion-icon {
    transform: rotate(45deg);
}

.trip-destination {
    margin: 0;
    color: var(--text-muted);
    font-weight: 600;
}

.trip-content {
    border-top: 1px solid var(--border);
    padding: 1.5rem;
}

.hidden {
    display: none;
}

.trip-details {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.trip-details li {
    margin-bottom: 0.4rem;
}

.trip-details span {
    font-weight: 600;
    display: inline-block;
    min-width: 120px;
}

.trip-form {
    display: grid;
    gap: 0.8rem;
}

.trip-form label {
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.trip-form input,
.trip-form select {
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    font-size: 1rem;
}

.trip-form button {
    border: none;
    background: var(--primary);
    color: white;
    font-size: 1rem;
    padding: 0.75rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.trip-form button:hover {
    background: var(--primary-dark);
}

.empty-state {
    text-align: center;
    color: var(--text-muted);
}

@media (min-width: 700px) {
    .trip-form {
        grid-template-columns: repeat(2, 1fr);
    }

    .trip-form .form-row:nth-child(4),
    .trip-form button {
        grid-column: span 2;
    }
}
