* { box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f5f7fa;
    color: #222;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

.container {
    max-width: 720px;
    margin: 40px auto;
    padding: 32px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

header {
    border-bottom: 1px solid #e6ebf2;
    padding-bottom: 24px;
    margin-bottom: 28px;
}

.brand-logo {
    display: block;
    width: 180px;
    height: auto;
    margin: 0 0 18px;
}

header h1 {
    margin: 0 0 6px;
    color: #1E3C77;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.subtitle {
    color: #5a6678;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.field {
    margin-bottom: 20px;
}

.field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.field input[type="file"],
.field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd6e2;
    border-radius: 5px;
    background: #f5f8fa;
    font-family: inherit;
    font-size: 14px;
    color: #222;
}

.field textarea {
    resize: vertical;
    min-height: 120px;
}

.field small {
    display: block;
    margin-top: 4px;
    color: #888;
    font-size: 12px;
}

.btn-primary {
    background: #f48220;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background: #1E3C77;
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.loading {
    text-align: center;
    margin-top: 32px;
    padding: 24px;
    background: #f3f5f9;
    border-radius: 5px;
}

.spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 3px solid #cbd6e2;
    border-top-color: #f48220;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 12px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

a {
    color: #1E3C77;
    text-decoration: underline;
}

a:hover {
    color: #f48220;
}
