body {
    background: #fdfdfd;
    color: #222222;
    font-family: 'Segoe UI', 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

a {
    color: #005b96;
    text-decoration: none;
}
a:hover {
    color: #003366;
    text-decoration: underline;
}

h1 {
    color: #222222;
    font-size: 28px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

h3 {
    color: #222222;
    font-size: 20px;
    border-bottom: 3px solid #ccc;
    padding-bottom: 5px;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

h5 {
    color: #003366;
    font-size: 16px;
    margin-top: 1.5rem;
    font-weight: bold;
}

.card-section {
    max-width: 800px;
    margin: 20px auto;
    background: #ffffff;
    border: 3px solid #ddd;
    padding: 2rem;
    color: #222222;
}

ul {
    padding-left: 1.2rem;
}
ul li {
    margin-bottom: 0.4rem;
    list-style-type: disc;
}

.profile-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}
.profile-text {
    flex: 1;
}
.profile-photo {
    flex-shrink: 0;
    width: 120px;
    height: 160px;
    overflow: hidden;
    border: 3px solid #ccc;
}
.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.password-box {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 280px;
    z-index: 999;
}

.blurred {
    color: #999;
    filter: blur(3px);
    user-select: none;
}
.blurred-img {
    filter: blur(3px);
    pointer-events: none;
}

footer {
    background: #f1f1f1;
    color: #666;
    font-size: 14px;
    text-align: center;
    padding: 10px;
    margin-top: 30px;
    border-top: 3px solid #ccc;
}
footer img {
    height: 30px;
    vertical-align: middle;
    margin-right: 5px;
}

.headline-classic {
    color: #222 !important;
    text-shadow: none !important;
    font-weight: 600;
}
.headline-classic img {
    vertical-align: middle;
    margin-left: 8px;
}


@media print {
    /* Hide logout button */
    .password-box {
        display: none !important;
    }

    /* Hide header elements like flag and extra spacing if needed */
    .headline-classic a,
    .headline-classic img {
        display: none !important;
    }

    /* Avoid page title and URL in header/footer (browser-controlled) */
    @page {
        margin: 20mm;
    }

    /* Optional: prevent unnecessary elements from showing */
    nav, footer, .no-print {
        display: none !important;
    }
}

.icon-button {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
}