/* Reset and Base Styles - Hojayfa */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container - Hojayfa */
.hojayfa-container1 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header - Hojayfa */
.hojayfa-header2 {
    text-align: center;
    margin-bottom: 40px;
}

.hojayfa-title3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #f70c3f;
}

.hojayfa-subtitle4 {
    font-size: 1.1rem;
    color: #999999;
    max-width: 600px;
    margin: 0 auto;
}

/* Upload Section - Hojayfa */
.hojayfa-upload-section5 {
    margin-bottom: 40px;
}

.hojayfa-upload-box2 {
    border: 2px dashed #444444;
    border-radius: 12px;
    padding: 50px 30px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hojayfa-upload-icon-wrapper3 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
}

.hojayfa-upload-icon4 {
    width: 60px;
    height: 60px;
    color: #666666;
    display: block;
    margin: 0 auto;
}

.hojayfa-upload-button5 {
    display: inline-block;
    background: #dc2626;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 15px 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    margin: 0 auto;
}

.hojayfa-upload-button5:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}

.hojayfa-file-input6 {
    display: none;
}

.hojayfa-upload-hint7 {
    margin-top: 15px;
    color: #888888;
    font-size: 0.95rem;
    text-align: center;
}

/* Progress Bar - Hojayfa */
.hojayfa-progress-container8 {
    margin-top: 30px;
}

.hojayfa-progress-bar-bg9 {
    width: 100%;
    height: 8px;
    background: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
}

.hojayfa-progress-bar10 {
    height: 100%;
    background: #dc2626;
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
}

.hojayfa-progress-text11 {
    text-align: center;
    color: #aaaaaa;
    margin-top: 10px;
    font-size: 0.9rem;
}

/* File Info - Hojayfa */
hojayfa-file-info12 {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.hojayfa-file-header13 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.hojayfa-file-details14 {
    flex: 1;
    min-width: 250px;
}

.hojayfa-file-name15 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
    word-break: break-word;
}

.hojayfa-file-meta16 {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hojayfa-meta-badge17 {
    background: #2a2a2a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #cccccc;
}

/* Delete File Button - Hojayfa */
.hojayfa-delete-file-btn18 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #dc2626;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.hojayfa-delete-file-btn18:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.5);
}

.hojayfa-delete-file-btn18 svg {
    width: 20px;
    height: 20px;
}

/* Download All Button - Hojayfa */
.hojayfa-download-all-container19 {
    text-align: center;
    margin-bottom: 40px;
}

.hojayfa-download-all-button20 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dc2626;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 16px 50px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hojayfa-download-all-button20:hover:not(:disabled) {
    background: #b91c1c;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.5);
}

.hojayfa-download-all-button20:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.hojayfa-button-icon21 {
    width: 22px;
    height: 22px;
    margin-right: 10px;
}

/* PDF Grid - Hojayfa */
.hojayfa-pdf-grid22 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* PDF Page Card - Hojayfa */
.hojayfa-pdf-page23 {
    border-radius: 12px;
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid #2a2a2a;
}

.hojayfa-pdf-page23:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.3);
    border-color: #dc2626;
}

/* Close Button - Hojayfa */
.hojayfa-close-btn24 {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: #ffffff;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    z-index: 10;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hojayfa-close-btn24:hover {
    background: #dc2626;
    color: #ffffff;
    transform: rotate(90deg);
}

/* Canvas Container - Hojayfa */
.hojayfa-canvas-container25 {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hojayfa-canvas-container25 canvas {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Page Info - Hojayfa */
.hojayfa-page-info26 {
    margin-top: 15px;
}

.hojayfa-page-number27 {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.hojayfa-download-page-button28 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dc2626;
    color: #ffffff;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.hojayfa-download-page-button28:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(220, 38, 38, 0.4);
}

.hojayfa-download-icon29 {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

/* Utility Classes - Hojayfa */
.hidden {
    display: none !important;
}

/* Responsive Design - Hojayfa */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }

    .hojayfa-title3 {
        font-size: 2rem;
    }

    .hojayfa-subtitle4 {
        font-size: 1rem;
    }

    .hojayfa-upload-box2 {
        padding: 40px 20px;
    }

    .hojayfa-upload-button5 {
        font-size: 1rem;
        padding: 12px 30px;
    }

    .hojayfa-upload-icon4 {
        width: 50px;
        height: 50px;
    }

    .hojayfa-pdf-grid22 {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .hojayfa-download-all-button20 {
        font-size: 1rem;
        padding: 14px 35px;
    }

    .hojayfa-file-name15 {
        font-size: 1.2rem;
    }

    .hojayfa-file-header13 {
        flex-direction: column;
    }

    .hojayfa-delete-file-btn18 {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hojayfa-title3 {
        font-size: 1.75rem;
    }

    .hojayfa-subtitle4 {
        font-size: 0.95rem;
    }

    .hojayfa-upload-box2 {
        padding: 30px 15px;
    }

    .hojayfa-pdf-grid22 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hojayfa-download-all-button20 {
        width: 100%;
        font-size: 0.95rem;
        padding: 14px 20px;
    }

    .hojayfa-button-icon21 {
        width: 20px;
        height: 20px;
    }

    .hojayfa-file-info12 {
        padding: 20px;
    }
}

/* Animation - Hojayfa */
@keyframes hojayfa-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hojayfa-pdf-page23 {
    animation: hojayfa-fadeIn 0.5s ease;
}
