.file-upload-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    z-index: 100;
}

.file-upload-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #ddd;
    background: white;
}

.file-upload-header .header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.file-upload-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.file-upload-body {
    flex: 1;
    overflow: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.drop-zone {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 48px 24px;
    text-align: center;
    background: #f9f9f9;
    transition: all 0.2s;
    cursor: pointer;
}

.drop-zone:hover {
    border-color: #003399;
    background: #f0f4ff;
}

.drop-zone.drag-over {
    border-color: #003399;
    background: #e6f0ff;
    border-style: solid;
}

.drop-zone-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.drop-zone h3 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 20px;
}

.drop-zone p {
    margin: 8px 0;
    color: #666;
}

.upload-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.upload-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
}

.upload-item-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.upload-item-name {
    font-weight: 500;
    color: #333;
}

.upload-item-size {
    color: #666;
    font-size: 14px;
}

.upload-item-progress {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #003399;
    transition: width 0.3s ease;
}

.upload-item-status {
    font-size: 14px;
    color: #666;
}

.upload-item-status.success {
    color: #28a745;
    font-weight: 500;
}

.upload-item-status.error {
    color: #dc3545;
    font-weight: 500;
}

@media (max-width: 767px) {
    .file-upload-view {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 200;
    }

    .file-upload-header {
        padding: 12px 16px;
        padding-top: calc(12px + env(safe-area-inset-top, 0));
    }

    .file-upload-header .header-left {
        gap: 12px;
    }

    .file-upload-header h2 {
        font-size: 16px;
    }

    .file-upload-header .button {
        min-width: 44px;
        min-height: 44px;
    }

    .file-upload-body {
        padding: 16px;
        gap: 16px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0));
    }

    .drop-zone {
        padding: 32px 16px;
    }

    .drop-zone-icon {
        font-size: 48px;
    }

    .drop-zone h3 {
        font-size: 16px;
    }

    .upload-item {
        padding: 12px;
    }

    .upload-item-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .upload-item-name {
        word-break: break-all;
    }
}
