﻿html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'Open Sans', sans-serif;
    background-color: #f7f9fb;
}
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
}
.container {
    width: 100%;
    max-width: 100%;
  /*  padding: 15px;*/
    margin: 0 auto;
}
.verify-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 20px;
}

    .verify-form .form-group {
        display: flex;
        flex-direction: column;
        min-width: 220px;
    }

        .verify-form .form-group label {
            font-weight: 500;
            margin-bottom: 5px;
        }

    .verify-form .align-bottom {
        justify-content: flex-end;

    }
.verification-card {
    background: #fff;
    position: relative;
    z-index: 1;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    width: 100%;
    box-sizing: border-box;
    margin-top: 25px;
    overflow-x: hidden;
}

    /* Add faint watermark */
    .verification-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('/assets/imgs/govt.png') no-repeat center center;
        background-size: 200px;
        opacity: 0.05; /*  Low opacity for watermark */
        z-index: 0;
        pointer-events: none;
    }

    /* Ensure content stays above the watermark */
    .verification-card > * {
        position: relative;
        z-index: 1;
    }
.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.council-logo {
    width: 60px;
    height: 60px;
}

.council-title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.council-title small {
    font-size: 12px;
    color: #666;
}

/* Profile image on right of grid (desktop) */
.grid-photo-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.info-grid {
    flex: 1 1 65%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px;
    min-width: 280px;
}

.photo-aligned {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.user-photo {
    width: 100px;
    height: 120px;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}

.status-row {
    margin-top: 25px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.card-footer {
    border-top: 1px solid #eee;
    margin-top: 20px;
    padding-top: 10px;
    text-align: center;
    font-size: 12px;
    color: #777;
}

.page-footer {
    background-color: #ffffff;
    border-top: 1px solid #ddd;
    padding: 15px 0;
    text-align: center;
    font-size: 14px;
    color: #555;
}
/* Mobile Layout Fix */
@media (max-width: 576px) {
    .grid-photo-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .photo-aligned {
        margin-top: 10px;
    }

    .user-photo {
        margin-top: 10px;
    }

    .status-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .card-body {
        padding-right: 15px;
    }

    .navbar-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media print {
    .verification-card {
        background: #fff url('/assets/imgs/govt.png') no-repeat center center !important;
        background-size: 200px !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}