.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 30px;
}

.archive-info-section {
    text-align: center;
    padding: 20px;
    background-color: #fafafa;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
}

.main-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.stats-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 13px;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

.stat-value {
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    padding: 10px 20px;
    background-color: #0078d4;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
}

.btn:hover {
    background-color: #005a9e;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 120, 212, 0.2);
}

.btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 16px;
    line-height: 1;
}

.btn-main {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
    box-shadow: 0 2px 6px rgba(0, 120, 212, 0.3);
}

.btn-main:hover {
    background: linear-gradient(135deg, #005a9e 0%, #004578 100%);
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.4);
}

.download-buttons-group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.dfb-format-link {
    margin-top: 8px;
    font-size: 11px;
}

.dfb-format-link a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dfb-format-link a:hover {
    color: #666;
    text-decoration: underline;
}

.btn-secondary {
    background-color: #6c757d;
    font-size: 12px;
    padding: 10px 16px;
}

.btn-secondary:hover {
    background-color: #5a6268;
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.2);
}

.file-browser-section {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    background-color: #fafafa;
}

.breadcrumbs-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 10px;
}

.breadcrumbs {
    flex: 1;
    padding: 8px 12px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 11px;
}

.breadcrumb-item {
    display: inline-block;
    color: #0078d4;
    cursor: pointer;
    margin-right: 3px;
}

.breadcrumb-item:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 3px;
    color: #666;
}

.file-list {
    border: 1px solid #ddd;
    border-radius: 3px;
    min-height: 350px;
    max-height: 550px;
    overflow-y: auto;
    font-size: 11px;
    margin-bottom: 10px;
    background-color: white;
    position: relative;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    padding: 40px 20px;
    text-align: center;
    color: #999;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.empty-state-title {
    font-size: 16px;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
}

.empty-state-message {
    font-size: 13px;
    color: #999;
    max-width: 300px;
    line-height: 1.5;
}

.file-item {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.file-item:hover {
    background-color: #f5f5f5;
}

.file-item:last-child {
    border-bottom: none;
}

.file-icon {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    font-size: 14px;
}

.file-name {
    flex: 1;
    font-size: 12px;
}

.file-size {
    margin-right: 12px;
    color: #666;
    font-size: 11px;
    min-width: 70px;
    text-align: right;
}

.file-actions {
    display: flex;
    gap: 6px;
}

.file-action-btn {
    padding: 4px 8px;
    background-color: #666;
    color: white;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-size: 10px;
}

.file-action-btn:hover {
    background-color: #555;
}

.file-action-btn-view {
    background-color: #17a2b8;
}

.file-action-btn-view:hover {
    background-color: #138496;
}

.file-action-btn-edit {
    background-color: #ffc107;
    color: #333;
}

.file-action-btn-edit:hover {
    background-color: #e0a800;
}

.file-action-btn-delete {
    background-color: #dc3545;
}

.file-action-btn-delete:hover {
    background-color: #c82333;
}

.dropzone {
    border: 2px dashed #ccc;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    background-color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dropzone.drag-over {
    border-color: #0078d4;
    background-color: #e6f2ff;
}

.dropzone-content {
    pointer-events: none;
}

.dropzone:hover {
    border-color: #0078d4;
    background-color: #f0f8ff;
}

.dropzone-text {
    color: #666;
    font-size: 12px;
}

.zip-upload-dropzone {
    margin-top: 15px;
    border: 2px dashed #ff6b6b;
    border-radius: 4px;
    padding: 15px;
    text-align: center;
    background-color: #fff5f5;
    transition: all 0.3s ease;
    cursor: pointer;
}

.zip-upload-dropzone.drag-over {
    border-color: #ff4757;
    background-color: #ffe0e0;
}

.zip-upload-dropzone:hover {
    border-color: #ff4757;
    background-color: #fff0f0;
}

.zip-upload-dropzone .dropzone-text {
    color: #666;
    font-size: 11px;
}

.archive-empty-state {
    padding: 30px 20px;
    text-align: center;
    color: #999;
}

.archive-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.6;
}

.archive-empty-title {
    font-size: 16px;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
}

.archive-empty-message {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
    max-width: 350px;
    margin: 0 auto;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.modal-close:hover {
    background-color: #f5f5f5;
    color: #333;
}

.modal-body {
    padding: 20px;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-textarea {
    width: 100%;
    flex: 1;
    min-height: 400px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.5;
    resize: none;
    background-color: #fafafa;
}

.modal-textarea:focus {
    outline: none;
    border-color: #0078d4;
    background-color: white;
}

.modal-pre {
    width: 100%;
    flex: 1;
    min-height: 400px;
    max-height: 60vh;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.5;
    overflow: auto;
    background-color: #fafafa;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #333;
    margin: 0;
}

.modal-pre-binary {
    font-size: 11px;
    letter-spacing: 0.5px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal-footer .btn {
    min-width: 100px;
}

.modal-content-large {
    max-width: 900px;
}

.modal-content-fullscreen {
    max-width: 95vw;
    max-height: 95vh;
}
