/*fillup-form.css*/

body {
    background-color: #f4f6f9;
}

/* Main Content */
main {
    padding: 50px 20px;
    background-color: #f4f6f9;
}

/* Center the content container */
.content-container {
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center; /* Center the content horizontally */
    max-width: 1550px; /* Limit max-width to prevent stretching */
    margin-left: auto; /* Center the container */
    margin-right: auto; /* Center the container */
    gap: 30px; /* Space between left and right containers */
}

/* Left container */
.left-container {
    width: 48%; /* Adjust width to ensure space between left and right containers */
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Right container */
.right-container {
    width: 48%; /* Adjust width to ensure space between left and right containers */
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

h3 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Instructions list */
.instructions-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.instructions-list li {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Adjustments for form fields */
.request-form .form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    width: 100%;
}

#searchInput {
    margin: 0;
}

label {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
    color: #374957;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

input[type="number"], input[type="tel"], input[type="email"] {
    max-width: 100%;
}

textarea {
    resize: vertical;
}

button.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #0077B6;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button.submit-btn:hover {
    background-color: #0089d3;
}

.banner {
    position: relative;
    width: 100%;
    height: 300px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%); /* Adjust brightness for readability */
}

.banner-text {
    position: absolute;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    animation: fadeIn 0.4s ease-in-out;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    width: 80%;
    max-width: 400px;
}
.modal-header {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #555;
}
.close-btn:hover {
    color: #000;
}
.modal button {
    background-color: #0077B6;
    color: white;
    border: none;
    padding: 12px 20px;
    margin-top: 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 16px;
}
.modal button:hover {
    background-color: #0089d3;
}
@keyframes fadeIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Barangay Clearance Banner */
.docu-banner {
    position: relative;
    width: 100%;
    height: 300px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: linear-gradient(to right, rgba(0, 51, 102, 0.7), rgba(0, 119, 182, 0.9)), 
                url('../assets/background.png') no-repeat center center;
    background-size: cover;
    margin: 0;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3); /* Adds shadow below */
}

.docu-banner .content {
    position: relative;
    z-index: 2; /* Ensure text is above the background */
}

.docu-banner h1 {
    font-size: 5rem; /* Adjust size for readability */
    margin: 0;
}

.progress-indicator {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 600px;
        margin: 20px auto;
    }

    .step {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    .circle {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: lightgray;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        color: white;
    }

    .step.active .circle {
        background: #0077B6;
    }

    .step span {
        margin-top: 5px;
        font-size: 14px;
    }

    .line {
        flex: 1;
        height: 4px;
        background: lightgray;
        margin: 0 5px;
        margin-bottom: 28px;
    }

    .step.active +  {
        background: #007bff;
    }

    .step.active ~ .line {
    background: #007bff;
    }

    /* Updated Review section styling */
.form-step#step-2 h2 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #374957;
}

.form-step#step-2 p {
    margin-bottom: 20px;
    font-size: 14px;
}

.review-container {
    border: none;
    padding: 0;
    background: transparent;
}

.review-item {
    display: flex;
    border: 1px solid #ddd;
    margin-bottom: -1px; /* Remove double borders between items */
}

.review-item strong {
    flex: 0 0 35%;
    padding: 10px;
    background-color: #f9f9f9;
    border-right: 1px solid #ddd;
    font-weight: bold;
    margin: 0;
    color: #374957;
}

.review-item span {
    flex: 0 0 65%;
    padding: 10px;
    margin: 0;
    color: #374957;
}

.form-step#step-2 h3 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
}

#review-request-details {
    margin-top: 10px;
}

.button-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
}

.back-btn {
    background-color: #cccccc;
    color: #333333;
    border: none;
    border-radius: 5px;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    flex: 1;
    width: 100%;
}

.submit-btn {
    background-color: #0077B6;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    flex: 1;
    width: 100%;
}

.submit-btn:hover {
    background-color: #0089d3;
}

#cedula-modal {
    margin-top: 10px;
    margin-bottom: 10px;
}

    .button-container {
        display: flex;
        justify-content: space-between;
        margin-top: 15px;
    }

    .back-btn, .submit-btn {
        flex: 1;
        padding: 8px;
        font-size: 14px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

    .back-btn {
        background-color: #ccc;
        color: #333;
    }
    .back-btn:hover {
        background-color: #bbb;
    }

    .submit-btn {
        background-color: #007bff;
        color: white;
    }
    .submit-btn:hover {
        background-color: #0056b3;
    }

    .button-container {
        display: flex;
        justify-content: space-evenly;
        margin-top: 20px;
        gap: 30px;
    }

    .back-btn {
        background-color: #ccc; /* Gray color for back button */
        color: #333;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        font-size: 16px;
        cursor: pointer;
        transition: 0.3s;
        width: 100%;
    }

    .back-btn:hover {
        background-color: #bbb;
    }

    .next-btn {
        background-color: #0077B6; /* Blue color for next button */
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        font-size: 16px;
        cursor: pointer;
        transition: 0.3s;
    }

    .next-btn:hover {
        background-color: #0077B6;
    }

    .step.completed .circle {
        background-color: #0077B6; /* Fill previous steps */
        color: white;
        border-color: #007bff;
    }
    
    .step.completed span {
        color: #0077B6;
    }
    