body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f7fb;
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 30px 20px 120px 20px;
    box-sizing: border-box;
}

.page {
    max-width: 1200px;
    margin: auto;
    padding: 10px 30px 30px 30px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.title {
    font-size: 34px;
    font-weight: bold;
    color: #062A5F;
}

.add-btn {
    background: #1E5AC8;
    color: white;
    text-decoration: none;
    padding: 14px 22px;
    border-radius: 10px;
    font-weight: bold;
}

.vehicles-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 18px;
    overflow: hidden;
}

.vehicles-table th {
    background: #062A5F;
    color: white;
    padding: 14px 18px;
    text-align: left;
}

.vehicles-table td {
    padding: 12px 18px;
    border-bottom: 1px solid #e5e7eb;
}

.hex {
    font-family: monospace;
    letter-spacing: 1px;
}

.landing-page,
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f7fb;
}

.hero-card,
.login-card {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.hero-title,
.login-title {
    font-size: 40px;
    font-weight: bold;
    color: #062A5F;
}

.hero-subtitle {
    margin-top: 14px;
    color: #5f6b7a;
    font-size: 18px;
    line-height: 1.5;
}

.hero-buttons {
    margin-top: 40px;
    display: flex;
    gap: 16px;
    justify-content: center;
}

.primary-btn {
    background: #1E5AC8;
    color: white;
    padding: 16px 24px;
    border-radius: 14px;
    text-decoration: none;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.secondary-btn {
    background: white;
    color: #1E5AC8;
    border: 2px solid #1E5AC8;
    padding: 16px 24px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: bold;
}

.form-group {
    margin-top: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #17202B;
}

.text-input {
    width: 100%;
    height: 56px;
    border-radius: 14px;
    border: 1px solid #d8dde6;
    padding: 0 16px;
    font-size: 16px;
    box-sizing: border-box;
}

.full-width {
    width: 100%;
    margin-top: 30px;
}

.error-box {
    margin-top: 20px;
    background: #ffe2e2;
    color: #b00020;
    padding: 16px;
    border-radius: 12px;
}

.footer {
    text-align: center;
    padding: 20px;
    color: #6b7280;
    font-size: 14px;
}

.field-error {
    display: block;
    margin-top: 8px;
    color: #b00020;
    font-size: 14px;
}

.form-check {
    margin-top: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #17202B;
    font-weight: bold;
}

.hex-input {
    font-family: monospace;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.block-link {
    display: block;
    text-align: center;
    box-sizing: border-box;
    margin-top: 14px;
}

.topbar-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.topbar-actions a {
    min-width: 140px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.actions-cell {
    display: flex;
    gap: 12px;
    align-items: center;
}

.actions-cell form {
    margin: 0;
}

.edit-link {
    color: #1E5AC8;
    font-weight: bold;
    text-decoration: none;
}

.delete-btn {
    background: #dc2626;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}