.custom-padding {
    padding-left: 8%;
    padding-right: 8%;
    height: 100vh; /* Make the container full height */
}

.full-screen {
    height: 100vh; /* Full viewport height */
    display: flex;
    justify-content: center; /* Centers content horizontally */
    align-items: center; /* Centers content vertically */
}

.download-container {
    width: 100%;
    height: 100%; 
    display: flex;
    justify-content: left;
    align-items: center;
    flex-direction: row; /* Ensures both text and image are side by side */
}

.download-form input {
    padding: 10px;
    font-size: 1rem;
    flex: 1;
    min-width: 220px;
    border-radius: 5px;
    border: 2px solid #ccc;
    margin-right: 10px;
}

.download-form button {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #2575b6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.download-form button:hover {
    background-color: #0e519e;
}

.printer-img {
    max-width: 100%;
    width: 450px;
    height: auto;
    margin-top: 20px; /* Adds a little space between the text and the image */
}

/* Ensure the form and image are well-aligned */
@media (max-width: 768px) {
    .download-container {
        flex-direction: column; /* Stack the content vertically for smaller screens */
        justify-content: center;
        align-items: center;
    }

    .col-md-6 {
        width: 100%; /* Ensure both columns take full width on mobile */
    }

    .download-form input {
        width: 100%; /* Make the input field full width on small screens */
    }

    .download-form button {
        width: 100%; /* Make the button full width on small screens */
    }

    .printer-img {
        width: 200px;
    }
}

/* Ensure the error popup matches the modal style */
#printer-error-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 500px;
    z-index: 9999;
    background: white;
    padding: 20px;
    box-shadow: 0px 0px 10px red;
    border-radius: 8px;
    border: 1px solid #ccc;
    text-align: center;
    overflow-y: auto;
}

/* Close button styling (X button) */
#printer-error-popup button.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

#printer-error-popup h2 {
    font-size: 1.5rem;
    color: red;
    margin-bottom: 15px;
}

#printer-error-popup hr {
    margin: 20px 0;
}

#printer-error-popup p {
    font-size: 1rem;
    color: #333;
}

#printer-error-popup ul {
    list-style-type: none;
    padding-left: 0;
    text-align: left;
}

#printer-error-popup ul li {
    font-size: 0.95rem;
    color: #555;
}

/* Style for the "Start Chat Now" button */
#printer-error-popup button.start-chat-btn {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

#printer-error-popup button.start-chat-btn:hover {
    background-color: #0056b3;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 576px) {
    #printer-error-popup {
        top: 50%;
        width: 90%;
        padding: 15px;
    }

    #printer-error-popup h2 {
        font-size: 1.25rem;
    }

    #printer-error-popup p {
        font-size: 0.9rem;
    }

    #printer-error-popup ul li {
        font-size: 0.9rem;
    }

    #printer-error-popup button.start-chat-btn {
        font-size: 14px;
        padding: 8px 16px;
    }
}

/* Optional: Background overlay for dimming the background */
#popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}
.full-width-img {
    width: 100%;   /* Ensures the image takes up the full width of its container */
    height: auto;  /* Maintains the aspect ratio */
}

