* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #eef2f5;
    display: flex;
    justify-content: center;
    align-items: flex-start;   /* Box ipo JUU, sio katikati */
    min-height: 100vh;
    padding: 40px 20px;
}

.container {
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ====== BOX NYEUPE KUU ====== */
.permit-card {
    background-color: #ffffff;
    padding: 40px 50px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
}

/* ====== HEADER NDANI YA BOX ====== */
.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    font-size: 22px;         /* KUBWA KIDOGO (kutoka 18px) */
    font-weight: bold;
    color: #000;
    text-transform: uppercase;
    line-height: 1.4;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.logo-placeholder {
    margin: 12px 0;
}

.logo-placeholder img {
    max-width: 90px;
    height: auto;
}

/* ====== LINE YA CHINI "FOREIGN DRIVING PERMIT" ====== */
.permit-title {
    display: inline-block;
    font-size: 13px;
    font-weight: normal;
    text-transform: uppercase;
    color: #333;
    margin-top: 12px;
    border-bottom: 1px solid #333;
    padding-bottom: 2px;
    letter-spacing: 0.5px;
}

/* ====== TAARIFA ZA MTU ====== */
.card-row {
    display: flex;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.5;
}

.label {
    width: 180px;
    font-weight: normal;      /* Labels za kushoto - kawaida */
    color: #333;
    text-transform: uppercase;
}

.value {
    flex: 1;
    font-weight: bold;        /* VALUES - SASA NI BOLD */
    color: #000;
    text-transform: uppercase;
}

/* ====== FOMU YA SEARCH ====== */
.search-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.search-form input {
    padding: 10px;
    width: 260px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
}

.search-form button {
    padding: 10px 22px;
    background-color: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
}

.search-form button:hover {
    background-color: #1a252f;
}

/* ====== BACK BUTTON ====== */
.back-wrapper {
    text-align: center;
    margin-top: 15px;
}

.back-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: #2c3e50;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
}

.back-btn:hover {
    background-color: #1a252f;
}

/* ====== ERROR MESSAGE ====== */
.error-msg {
    color: red;
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    padding: 10px 0;
}