﻿body {
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    margin: 0;
    padding: 0;
}

header {
    background: #0078d7;
    color: white;
    padding: 1rem;
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

    header span {
        display: block;
        font-size: 1rem;
        font-weight: normal;
    }

main {
    max-width: 600px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

input {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

button, .btn {
    background: #0078d7;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: block;
    text-align: center;
    margin: 0.5rem 0;
}

    button:hover, .btn:hover {
        background: #005ea1;
    }

.menu {
    display: flex;
    flex-direction: column;
}

.result-card {
    /*margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: 8px;
    background: #e6f4ea;
    border-left: 5px solid #28a745;
    display: flex;
    align-items: center;
    gap: 1rem;*/
    max-width: 600px;
    margin: 0 auto;
    margin-left: 10px;
}

    .result-card.error {
        background: #fdecea;
        border-left: 5px solid #dc3545;
    }

    .result-card h2 {
        margin: 0 0 0.5rem 0;
        font-size: 1.2rem;
    }
.field {
    margin-bottom: 10px;
    font-size: 12pt;
}

.label {
    display: inline-block;
    width: 150px;
    text-align: left;
    font-weight: bold;
}

.underline {
    border-bottom: 1px solid black;
    width: 200px;
    display: inline-block;
    vertical-align: bottom;
}

.value {
    margin-left: 10px;
}

.issued-by {
    margin-left: 160px;
}
.error-message {
    color: red;
    font-weight: bold;
    margin-top: 1rem;
}

footer {
    text-align: center;
    padding: 1rem;
    color: #555;
    font-size: 0.9rem;
}
