* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 40px 20px;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background: #fafafa;
    color: #09090b;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.card {
    background: white;
    border: 1px solid #e4e4e7;
    border-radius: 16px;
    padding: 32px;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.06);
}

h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h3 {
    margin-top: 32px;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #18181b;
    padding-bottom: 8px;
    border-bottom: 1px solid #e4e4e7;
}

.subtitle {
    color: #71717a;
    margin-top: 8px;
    margin-bottom: 24px;
    font-size: 14px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #3f3f46;
}

input,
textarea,
select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d4d4d8;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    color: #09090b;
    transition: all 0.15s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #18181b;
    box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.08);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.field {
    margin-bottom: 18px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

button {
    width: 100%;
    border: none;
    background: #18181b;
    color: white;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

button:hover {
    background: #27272a;
}

button:active {
    transform: translateY(1px);
}

a {
    display: inline-block;
    margin-bottom: 24px;
    color: #52525b;
    text-decoration: none;
    font-size: 14px;
}

a:hover {
    color: #18181b;
}

.log {
    margin-top: 20px;
    background: #fafafa;
    border: 1px solid #e4e4e7;
    border-radius: 12px;
    padding: 16px;
    font-size: 13px;
    color: #3f3f46;
    white-space: pre-wrap;
    min-height: 60px;
}

.file-input {
    padding: 12px;
    background: #fafafa;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 20px;
    }
}