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

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f5f7fb;
    color: #0f172a;
}

.page {
    width: 92vw;
    max-width: 900px;
    margin: 0 auto;
    padding: 3.5rem 0 4rem;
}

.simple-hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

.simple-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.simple-hero p {
    margin: 0;
    color: #475569;
    line-height: 1.5;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 1.5rem;
}

.stats strong {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    color: #0f172a;
}

.stats span {
    font-size: 0.9rem;
    color: #475569;
}

.entry-card,
.card {
    background: #ffffff;
    border-radius: 18px;
    padding: 2.25rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
    margin-bottom: 2rem;
}

.entry-card h2 {
    margin: 0 0 1.5rem 0;
    font-size: 1.6rem;
}

.card h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.entry-card p {
    margin: 0.75rem 0 1.5rem;
    color: #475569;
}

.simple-form {
    display: flex;
    gap: 0.75rem;
}

.simple-form input {
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    font-size: 1rem;
}

.simple-form button {
    min-width: 160px;
    border: none;
    border-radius: 12px;
    background: #1d4ed8;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.simple-form button:hover {
    background: #1e40af;
}

.advanced-toggle {
    margin-top: 1rem;
    background: transparent;
    border: none;
    color: #1d4ed8;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.advanced-fields {
    display: none;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
}

.advanced-fields.is-visible {
    display: grid;
    gap: 1rem;
}

label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 500;
}

.help-text {
    font-size: 0.85rem;
    color: #475569;
}

input[type="text"],
input[type="url"] {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 0.85rem 1rem;
    font-size: 1rem;
}

.primary-btn {
    padding: 0.85rem 1.4rem;
    border-radius: 10px;
    border: none;
    background: #1d4ed8;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.alert {
    border-radius: 12px;
    padding: 0.9rem 1.3rem;
    margin-bottom: 1rem;
}

.alert-danger {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.alert-success {
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.copy-btn {
    margin-left: 0.75rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: transparent;
    cursor: pointer;
}

.table {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.table-row {
    display: grid;
    grid-template-columns: 0.6fr 1.4fr 0.3fr;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    align-items: center;
}

.table-head {
    background: transparent;
    border: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #475569;
    letter-spacing: 0.05em;
}

.destination-cell {
    color: #475569;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-footer {
    text-align: center;
    color: #475569;
    margin-top: 1.5rem;
}

.site-footer a {
    color: #1d4ed8;
    text-decoration: none;
}

@media (max-width: 768px) {
    .simple-form {
        flex-direction: column;
    }

    .simple-form button {
        width: 100%;
    }

    .stats {
        flex-direction: column;
        gap: 1rem;
    }

    .table-row {
        display: block;
    }
}

