﻿
body {
    background: #f4f4f4;
}

.page {
    position: relative;
    display: inline-block;
    margin: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

    .page:hover {
        transform: scale(1.02);
    }

.remove-page {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
}

    .remove-page:hover {
        opacity: 1;
    }

.upload-area {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    margin: 20px 0;
    transition: all 0.3s;
    background: white;
}

    .upload-area:hover {
        border-color: #0d6efd;
        background: #f8f9fa;
    }

    .upload-area.active {
        border-color: #0d6efd;
        background: #f0f7ff;
    }
.drop-zone {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    margin: 20px 0;
    transition: all 0.3s;
    background: white;
}

    .drop-zone:hover {
        border-color: #0d6efd;
        background: #f8f9fa;
    }

    .drop-zone.active {
        border-color: #0d6efd;
        background: #f0f7ff;
    }

.sidebar {
    width: 250px;
    padding: 20px;
    background: #fff;
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    border-left: 1px solid #ddd;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.content {
    margin-right: 270px;
    padding: 20px;
}

.progress-container {
    display: none;
    margin: 20px 0;
}

.page-number {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
}

.page-count {
    margin: 10px 0;
    font-weight: bold;
}

.btn-download {
    position: relative;
    overflow: hidden;
}

    .btn-download .progress {
        position: absolute;
        bottom: 0;
        left: 0;
        height: 4px;
        background: rgba(255,255,255,0.3);
        width: 0%;
        transition: width 0.3s;
    }

.drag-hint {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

