/* General Page Layout */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.full-height-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-wrapper {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

/* Push the title away from header */
.survey-title {
    padding-top: 80px; /* Adjust as needed */
    margin-bottom: 20px;
    text-align: center;
}

/* Optional: center intro and list spacing */
.survey-intro {
    margin-bottom: 30px;
}


/* =====================
   Survey List Styling
   ===================== */
.survey-list {
    margin-top: 30px;
}

.survey-list h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

.survey-item {
    background: #f1f9ff;
    border: 2px solid #007bff;
    padding: 14px 18px;
    margin: 10px 0;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
}

.survey-item:hover {
    background: #007bff;
    color: #fff;
    transform: translateY(-2px);
}

/* ==========================
   Citizen Info Modal Styling
   ========================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    animation: fadeInUp 0.4s ease-out;
    position: relative;
}

.modal-content h3 {
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
}

.modal-content input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.modal-content button {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.modal-content button:hover {
    background: #0056b3;
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 20px;
    cursor: pointer;
}

/* Animation */
@keyframes fadeInUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Remove extra space above footer */
.survey-section {
    margin-bottom: 0;
    padding-bottom: 30px; /* adjust this if needed */
}

.page-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#otpModal .modal-content {
    text-align: center;
}

#otpModal input {
    margin-bottom: 15px;
}


