/* permits.css */

body {
    background-color: #003366d3;
    color: #374957;
}

*[style*="color: black"], *[style*="color: #000"] {
    color: inherit !important; 
}

label, 
label[style*="color: black"], 
label[style*="color: #000"] {
    color: #374957 !important;
}

.banner-permit {
    background: linear-gradient(to right, rgba(0, 51, 102, 0.7), rgba(0, 119, 182, 0.9)), 
                url('../assets/permitbanner.png') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); /* Adds shadow to the banner */
    z-index: 1;
    padding-top: 50px;
    padding-bottom: 50px;
}


.banner-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.banner-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.form-box {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    margin-bottom: 50px;
}

.form-title {
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}

.form-label {
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.form-input.textarea {
    height: 100px;
    resize: vertical;
}

.form-note {
    font-size: 0.9rem;
    font-weight: bold;
    margin-top: 10px;
}

.form-checkbox-group {
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    margin-bottom: 8px;
}

.form-checkbox {
    width: 16px;
    height: 16px;
    accent-color: #0077B6;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.submit-btn {
    width: 100%;
    background: #0077B6;
    color: #fff;
    font-size: 1rem;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #0056b3;
}

.review-container {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    background: #f9f9f9;
    font-size: 14px;
}

.review-item {
    padding: 5px 0;
    font-size: 14px;
}

.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: #0077B6;
    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: #007bff; /* 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: #0056b3;
}

.step.completed .circle {
    background-color: #0077B6; /* Fill previous steps */
    color: white;
    border-color: #007bff;
}

.step.completed span {
    color: #0077B6;
}

.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;
    }

    .step.active +  {
        background: #0077B6;
    }

    .review-container {
        border: 1px solid #ccc;
        padding: 10px;
        border-radius: 5px;
        background: #f9f9f9;
        font-size: 14px;
    }

    .review-item {
        padding: 5px 0;
        font-size: 14px;
    }

    .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: #0077B6;
        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: #0056b3;
    }

    .step.completed .circle {
        background-color: #0077B6; /* Fill previous steps */
        color: white;
        border-color: #0077B6;
    }
    
    .step.completed span {
        color: #0077B6;
    }
    

    /* Request Form Styling */

    

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    width: 100%;
}

label {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

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;
}

h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Review Section */
.review-container {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.review-item {
    font-size: 16px;
    margin-bottom: 10px;
}

/* Modal Styling */
.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;
}
.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: #0056b3;
}
@keyframes fadeIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

#permit {
    margin-bottom: 0;
}

.permit-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 10px;
}

h3 {
    margin-top: 25px;
    margin-bottom: 10px;
}

.permit-section h3 {
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.ownership-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fee-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option {
    display: flex;
    align-items: center; /* Aligns the radio button with the text */
    gap: 10px; /* Adds spacing between radio button and label */
}

.option input[type="radio"] {
    margin: 0;
    width: 16px;
    height: 16px;
}


.option label {
    margin: 0;
    font-size: 0.95em;
    color: #555;
}

.requirements-section {
    margin-top: 20px;
}

.file-upload {
    margin-top: 10px;
}

.file-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 0;
}

.file-help {
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
}

.note {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
    margin-top: 10px;
}

.total-fee {
    margin-top: 20px;
    padding: 15px;
    background-color: #fbfbfb;
    border-radius: 6px;
    text-align: right;
}

.total-fee h3 {
    margin: 0;
    color: #374957;
}

/* Responsive Design */
@media (max-width: 768px) {
    .permit-section {
        padding: 15px;
    }
    
    .ownership-options, .fee-options {
        gap: 8px;
    }
    
    .option label {
        font-size: 0.9em;
    }
}

.note-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.payment-note {
    margin-bottom: 20px;
}

.payment-note h3 {
    color: #dc3545;
    font-size: 1.1em;
    margin: 0;
}

.payment-note p {
    color: #495057;
    font-size: 0.95em;
    line-height: 1.5;
}

.contact-info {
    border-top: 1px solid #dee2e6;
    padding-top: 15px;
}

.contact-info p {
    color: #495057;
    font-size: 0.95em;
    margin-bottom: 10px;
}

.contact-numbers {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.contact-numbers p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0077B6;
    font-weight: 500;
    margin: 0;
}

.contact-numbers i {
    color: #0077B6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .note-section {
        padding: 15px;
    }
    
    .contact-numbers {
        gap: 6px;
    }
    
    .payment-note h3 {
        font-size: 1em;
    }
    
    .payment-note p,
    .contact-info p {
        font-size: 0.9em;
    }
}

.search-input {
    margin-bottom: 0;
}

/* Success Step Styling */
.success-container {
    width: auto;
    text-align: center;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 8px;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

.success-icon {
    font-size: 64px;
    color: #28a745;
    margin-bottom: 20px;
    width: 125px;
    height: 125px;
    margin-left: auto;
    margin-right: auto;
}

.success-icon i {
    animation: scaleIn 0.5s ease-in-out;
}

.reference-number {
    background-color: #fff;
    padding: 15px 0;
    width: 100%;
}

.reference-number h3 {
    color: #374957;
    margin: 0;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
}

.ref-container {
    display: flex;
    align-items: stretch;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

#reference-number {
    flex-grow: 1;
    margin: 0;
    padding: 0;
    font-size: 25px;
    font-weight: bold;
    border: none;
    color: #0077B7;
    background-color: #fff;
}

#copy-btn {
    background-color: #0077B6;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
}

.reference-number small {
    color: #666;
    display: block;
    margin-top: 8px;
    font-size: 14px;
}

.next-steps {
    text-align: left;
    margin: 30px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.next-steps h3 {
    color: #374957;
    margin-top: 0;
    margin-bottom: 15px;
}

.next-steps ol {
    margin-left: 20px;
    color: #495057;
}

.next-steps li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.button-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.home-btn, .track-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.home-btn {
    background-color: #6c757d;
    color: white;
}

.track-btn {
    background-color: #0077B6;
    color: white;
}

.home-btn:hover, .track-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



.review-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.review-table td {
    border: 1px solid #ddd;
    padding: 8px;
}

.review-table td:first-child {
    font-weight: bold;
    width: 30%;
    background-color: #f5f5f5;
}

.note {
    font-size: 14px;
    font-style: italic;
    margin-top: 10px;
}

.button-container {
    margin-top: 15px;
    display: flex;
    justify-content: space-around;
}

.back-btn, .submit-btn {
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.back-btn {
    background-color: #ddd;
}

.submit-btn {
    background-color: #28a745;
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .button-container {
        flex-direction: column;
    }
    
    .home-btn, .track-btn {
        width: 100%;
        justify-content: center;
    }
    
    .reference-number p {
        font-size: 20px;
    }
    
    .review-item strong {
        min-width: 120px;
    }
}
