body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f5f5f7;
    color: #222;
    margin: 0;
}

a {
    color: #0b63ce;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.top-bar {
    background: #0b63ce;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
}

.top-bar a {
    color: #fff;
}

.container {
    max-width: 960px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0,0,0,0.06);
}

.container.narrow {
    max-width: 600px;
}

h1, h2 {
    margin-top: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

table th,
table td {
    border: 1px solid #e0e0e0;
    padding: 8px;
    text-align: left;
}

table th {
    background: #fafafa;
}

.button,
button {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 4px;
    border: none;
    background: #0b63ce;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}

.button-secondary {
    background: #777;
}

.button:hover,
button:hover {
    background: #084c9e;
}

label {
    display: block;
    margin-top: 10px;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 6px 8px;
    margin-top: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.alert {
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.alert-error {
    background: #ffe0e0;
    border: 1px solid #ffb8b8;
    color: #a00000;
}

.stats {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.card {
    flex: 1;
    background: #fafafa;
    border-radius: 4px;
    padding: 10px;
    border: 1px solid #e0e0e0;
}

.card-title {
    font-size: 13px;
    color: #555;
}

.card-value {
    font-size: 20px;
    font-weight: bold;
    margin-top: 5px;
}

.actions {
    margin: 15px 0;
}

.terms-box {
    border: 1px solid #ddd;
    padding: 15px;
    max-height: 350px;
    overflow-y: auto;
    background: #fafafa;
    margin-bottom: 20px;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.payment-card {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 4px;
    background: #fafafa;
}

.address-block {
    background: #fff;
    padding: 8px;
    border-radius: 4px;
    border: 1px dashed #ccc;
}
