h1 {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
}

.file-input-wrapper {
    position: relative;
    display: inline-block;
    margin: 20px 0;
}

#imageInput {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-input-label {
    display: inline-block;
    padding: 12px 24px;
    /* background: linear-gradient(135deg, #007bff, #00d4ff); */
    background: blue;
    color: white;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.file-input-label:hover {
    background: linear-gradient(135deg, #0056b3, #00b7eb);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#imageContainer {
    /* display: grid; */
    /* grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); */
    gap: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
}

.image-card {
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    position: relative;
    cursor: move;
    transition: all 0.2s ease;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: none;
}

.image-card img {
    max-width: 100%;
    max-height: 130px;
    object-fit: cover;
    border-radius: 5px;
}

.image-card.dragging {
    opacity: 0.3;
    background-color: #f0f0f0;
    transform: scale(0.95);
}

.image-card.drag-over {
    border: 2px dashed #007bff;
    background-color: #e6f0ff;
    opacity: 0.7;
}

.remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff4d4d;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    line-height: 20px;
    text-align: center;
}

.remove-btn:hover {
    background: #e60000;
}

#generatePdfBtn {
    padding: 12px 24px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    max-width: 200px;
}

#generatePdfBtn:hover {
    background: #218838;
}

#generatePdfBtn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border: 3px solid #fff;
    border-radius: 8px;
}

.section {
    margin-top: 40px;
    text-align: left;
    width: 90%;
}

.section h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
}

.section p,
.section li {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

.section ul {
    list-style-type: disc;
    margin-left: 20px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h3 {
    color: #007bff;
    font-size: 18px;
    margin-bottom: 5px;
}

@media (max-width: 500px) {

    .innerPageContainer {
        padding: 10px;
    }
}